Skip to content

Commit 689cf39

Browse files
authored
🐛 FIX: RST tables eval_rst -> eval-rst (#29)
1 parent bb74674 commit 689cf39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rst_to_myst/markdownit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def visit_table(self, node):
408408
if not text.endswith("\n"):
409409
text += "\n"
410410
self.add_token(
411-
"fence", "code", 0, content=text, markup="```", info="{eval_rst}"
411+
"fence", "code", 0, content=text, markup="```", info="{eval-rst}"
412412
)
413413
raise nodes.SkipNode
414414

tests/fixtures/render.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ X Y
326326
C D
327327
== ==
328328
.
329-
```{eval_rst}
329+
```{eval-rst}
330330
== ==
331331
A B
332332
X Y

0 commit comments

Comments
 (0)