-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Markdown] A collection of issues #266
Comments
Excellent, thanks for the examples! |
Can you point to a specification where backslashes inside backticks are supposed to escape the following backtick? Or is that meant the other way around? Personally, I've been using the MarkdownEditing package with its GFM definition for the longest time. |
@FichteFoll http://daringfireball.net/projects/markdown/syntax#backslash |
I'm rather sure this is supposed to escape the opening part (like this: |
I believe that technically lists right after paragraphs are not supported, and I'm not sure how we would handle that without incorrect marking up a paragraph containing a If there is info about this feature in terms of compatibility with various markdown engines, that could be useful. |
I wasn't sure either, so I looked up the spec: http://spec.commonmark.org/0.24/#lists Here is a quote a few paragraphs down:
|
Markdown implementations are all different to this date, even after commonmark was published. Still, I believe that commonmark is the most specified flavor currently and basing on it sounds like a good idea, especially considering that more platforms are moving to it slowly. |
@keith-hall just fixed a number of these in #803. I've checked off what I believe has been completed. |
I believe "Underscore in the middle of words" can also be ticked off :) |
And some more fixes by @keith-hall in #806! The only thing I noticed was that: * this is a list
> This is a blockquote.
This is a paragraph still part of the
list item
* Lorem ipsum
This is a code block
* list continues
* list continues The last list item continues the paragraph scope from the second-to-last list item. |
Plain URLs and tables have now been added to the Markdown syntax :) |
Will syntax highlighting in code blocks ever happen? It seems very easy to add this feature at this point. |
There are two main issues with highlighting in code blocks.
I'd be fine with 2 but I don't feel like being in a position to decide 1. For reference, the latex syntax includes a lot of syntaxes and is by far the biggest compiled one, as far as I remember. |
As @FichteFoll mentioned in point 1., the real issue is that the current implementation of including syntaxes in other syntaxes involves embedding them. LaTeX got to the point of the cached regex patterns taking up 9MB on disk (I believe there were around 8k contexts in the syntax), and users would see a lag the first time they opened a LaTeX file as the regex cache was loaded into memory to be used for highlighting. We did some work on reducing the size of the C and C++ syntaxes, which cascaded to LaTeX, but I really need to see if I can get the syntax engine to no require embedding all contexts for things like a language including another. This applies to a lot of markup languages (HTML, Markdown, LaTeX) but also programming languages embedding other languages (such as SQL, HTML, JS, etc). |
Escaped backticks inside inline code blocks(seems invalid @wbond)>
symbolExtended but common Markdown
Here is test file for fenced blocks
Here is a test file for tables
The text was updated successfully, but these errors were encountered: