components/prism-markdown.js


Log

Author Commit Date CI Message
Michael Schmidt 7a554b5f 2020-04-16T22:27:54 Fixed several cases of exponential backtracking (#2268)
Michael Schmidt 5d7aab56 2020-03-26T23:30:29 Updated all String.propotype.replace calls for literal strings
Michael Schmidt 73c8a376 2020-02-24T23:56:07 Markdown: Added support for nested lists (#2228) This improves the support for nested lists by making the `code` pattern stricter.
Michael Schmidt d7ad48f9 2020-01-06T13:50:17 Markdown: Better language detection for code blocks (#2114) This improves the language detection for code blocks by using only the first word instead of the whole expression and replacing some characters so languages like `c#` and `c++` are supported.
Michael Schmidt 05823e88 2019-07-22T02:07:42 Markdown: Added support for auto-loading code block languages (#1898) This lets Markdown load embedded languages using the Autoloader plugin which now exposes the `loadLanguages` function. This also changes `loadLanguages` to always invoke callbacks asynchronously and to invoke error callbacks only once.
RunDevelopment a3a6d9ee 2019-07-20T12:59:11 Resolved conflict
Michael Schmidt b9ec6fd8 2019-07-13T15:52:36 Markdown: Improved URLs (#1955) This fixes the known issue that inline styles (bold, italic, strike) break URLs. Inline styles are now properly highlighted inside URLs.
RunDevelopment 6b4b2d2b 2019-06-25T03:13:29 Removed unnecessary `lookbehind: true`
RunDevelopment e2c56f04 2019-06-24T23:11:51 Resolved conflicts
RunDevelopment 9c75843a 2019-06-24T15:48:11 Improved inline pattern creation + more comments
Michael Schmidt 03cf85b0 2019-05-18T20:56:47 Added support for nested bold and italic tokens
Michael Schmidt 828d7ec0 2019-03-30T17:48:09 Added markdown tables
Michael Schmidt 8ca3d65b 2019-03-06T13:53:33 Markdown: The 'md' alias is now recognized by hooks (#1771) The hooks markdown adds itself will now recognize the `md` alias.
Masafumi Koba 0c8f6504 2018-12-03T04:37:20 Add file extensions support for major languages (#1478) This adds aliases for file extensions of some major languages. - `coffee` -> `coffeescript` - `md` -> `markdown` - `py` -> `python` - `rb` -> `ruby` - `yml` -> `yaml`
Michael Schmidt b0717e70 2018-12-01T21:09:13 Add support for code blocks in Markdown (#1562) It also supports syntax highlighting! The highlighting is done in two steps: 1. Add an alias `language-****` containing the given language to the `code-block` token. This happens in the `after-tokenize` hook. 2. Highlight the code with the `wrap` hook. This is to get around the encoding (`util.encode`) of tokens in `Prism.highlight`. By using this procedure we get the correct execution of the `before-tokenize`, `after-tokenize`, and `wrap` hook for all included languages.
Michael Schmidt c6584290 2018-11-28T16:12:09 Fixed Markdown headers (#1557) This PR fixed markdown header of the form: ``` Überschrift ----------- ```
Michael Schmidt 9d2fddc2 2018-11-28T14:21:20 Added strike support to markdown (#1563) This PR adds support for the strike operator in [both forms][1]. It does not include actual styling for the strike operator as it makes the ~ character really hard to read. [1]: https://webapps.stackexchange.com/questions/14986/strikethrough-with-github-markdown/103691#103691
Golmote cc80ccda 2018-03-13T08:15:56 Remove most of the cloning occurrences in language definitions.
Golmote f489a1e7 2017-10-22T14:56:57 Markdown: Don't use captures if not needed
Golmote 4c551e8b 2015-08-27T20:58:43 Markup: Simplify patterns + handle \r\n and \r
Golmote 816b92eb 2015-01-12T23:21:42 Fix #469
Golmote a1ea0123 2015-01-07T20:37:24 Add support for some nesting, give priority to Markdown over Markup, fixed example
Golmote eaf8ac0c 2015-01-07T19:48:29 Improved Markdown + added example
Golmote 92878f6b 2014-12-11T20:29:36 Improved Markdown titles detection
Golmote 6b37690d 2014-12-10T22:54:29 Added Markdown language