Skip to content

Commit

Permalink
Add a hacky solution, to MyST-parser's bad table output
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Oct 9, 2021
1 parent ab8a6a9 commit 08ba46d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/furo/assets/styles/_shame.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Shameful hacks, to work around bugs.
// MyST parser doesn't correctly generate classes, to align table contents.
// https://github.com/executablebooks/MyST-Parser/issues/412
.text-align\:left > p
text-align: left

.text-align\:center > p
text-align: center

.text-align\:right > p
text-align: right
2 changes: 2 additions & 0 deletions src/furo/assets/styles/furo.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
@import "scaffold"
@import "content"
@import "components"

@import "shame"

0 comments on commit 08ba46d

Please sign in to comment.