[Github-comments] [geany/geany] Markdown: "matching" underscores have priority over code block (#1439)

Ben Wiederhake notifications at xxxxx
Tue Mar 21 00:30:42 UTC 2017


Given that Markdown has lots of undefined semantics, this may very well be a valid interpretation of certain broken Markdown documents. But I guess most would agree that the priority should be the other way around.

Example:  (Save as `something.md` and open with Geany)

    _This is "underlined"
    
    ```
    should_be code
    ```
    
    This sentence is considered code, because the
    "matching" underscores had priority (?)

Note that the "stray underline" can also occur in HTML inline-comments, where they don't stand for underlining anyway.

<!-- Like this one.  I know very well that this won't usually appear. -->

-- 
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/1439
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170320/fa6e3174/attachment.html>


More information about the Github-comments mailing list