fpjohnston / TECO-64

Enhanced and portable version of TECO text editor in C.
24 stars 6 forks source link

Fix backtick mixed with table fence in Markdown #20

Open LdBeth opened 4 months ago

LdBeth commented 4 months ago

The text that can be matched by regex '[^\\`]`[^|]+[|].*[^\\]`' occurred could be misread by some Markdown parser as | inside code block. This PR fixes that.

LdBeth commented 3 months ago

I also realized the markdown parser I use (lowdown) enables treat ^ as superscript by default, a few of them in the doc were already escaped, but the majority were not, I added a commit to fix that.