Skip to content

Commit

Permalink
🐛 FIX: RST tables eval_rst -> eval-rst (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell authored Aug 16, 2021
1 parent bb74674 commit 689cf39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rst_to_myst/markdownit.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def visit_table(self, node):
if not text.endswith("\n"):
text += "\n"
self.add_token(
"fence", "code", 0, content=text, markup="```", info="{eval_rst}"
"fence", "code", 0, content=text, markup="```", info="{eval-rst}"
)
raise nodes.SkipNode

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/render.txt
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ X Y
C D
== ==
.
```{eval_rst}
```{eval-rst}
== ==
A B
X Y
Expand Down

0 comments on commit 689cf39

Please sign in to comment.