[Github-comments] [geany/geany] Markdown syntax highlighting confused by indented code block (#2797)
Robert Di Pardo
notifications at xxxxx
Mon Jun 28 03:31:55 UTC 2021
@nomadbyte,
> Apparently, using tilde-delimited code blocks within a list seems to work ok
"Seems" is exactly right: those lines are being styled like ~~strikeout~~ because of a false match with the first two `~~`s:
![Screenshot_2021-06-27_23-27-37](https://user-images.githubusercontent.com/59004801/123575229-4d34a600-d79f-11eb-9980-6bd0bf377b4f.png)
Triple `~~~`s are recognized as code fences only when they're flush with the margin and the previous line is blank:
![Screenshot_2021-06-27_23-19-07](https://user-images.githubusercontent.com/59004801/123574962-ce3f6d80-d79e-11eb-82c2-dd69004f46c4.png)
_Note on the colorscheme; it's [Delt Dark](https://github.com/geany/geany-themes/blob/master/colorschemes/delt-dark.conf)_
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2797#issuecomment-869323980
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210627/65d55517/attachment-0001.htm>
More information about the Github-comments
mailing list