executablebooks / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
172 stars 50 forks source link

It is not easy to "just write quotes" in CSV-tables #1272

Open agoose77 opened 1 month ago

agoose77 commented 1 month ago

Writing some notes today, I found it hard to embed quotes (even after declaring an escape character). We should investigate this (and fix a typo in the options docstring)

We also should explicitly state what kind of markup is supported - why don't footnotes work?

agoose77 commented 1 month ago

Perhaps it's the MyST parse context that is separate per cell.

choldgraf commented 1 month ago

Example (sandbox link)

CleanShot 2024-06-06 at 17 45 14@2x

rowanc1 commented 1 month ago

Hm, yes. I think that footnotes are probably the main thing that wont work? Maybe block content as well, but I haven't tried that.

I think that we should have a separate push to have a specific parser for footnote references that doesn't get downgraded by markdown-it, but can be downgraded at a later point (maybe) if the cross reference is not handled. This would, for example allow for footnotes on other pages, as well as solving the specific issue that @choldgraf pointed out.