|
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.
|
|
84b9651b
|
2019-06-24T15:51:46
|
|
Rebuilt Prism
|
|
9c75843a
|
2019-06-24T15:48:11
|
|
Improved inline pattern creation + more comments
|
|
03cf85b0
|
2019-05-18T20:56:47
|
|
Added support for nested bold and italic tokens
|
|
66b44e3b
|
2019-03-24T23:03:10
|
|
Travis: Fail when changed files are detected (#1819)
This adds a new check to the Travis CI config which will cause the build to fail if any files change (This usually indicates that the committer forgot to rebuild Prism.). To implement this, we also add the `package-lock.json` file.
|
|
3e00bb9c
|
2019-03-07T15:22:30
|
|
Rebuilt Prism (#1794)
This is a rebuilt of Prism to update minified files.
|
|
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.
|
|
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`
|
|
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.
|
|
c6584290
|
2018-11-28T16:12:09
|
|
Fixed Markdown headers (#1557)
This PR fixed markdown header of the form:
```
Überschrift
-----------
```
|
|
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
|
|
cc80ccda
|
2018-03-13T08:15:56
|
|
Remove most of the cloning occurrences in language definitions.
|
|
f489a1e7
|
2017-10-22T14:56:57
|
|
Markdown: Don't use captures if not needed
|
|
4c551e8b
|
2015-08-27T20:58:43
|
|
Markup: Simplify patterns + handle \r\n and \r
|
|
816b92eb
|
2015-01-12T23:21:42
|
|
Fix #469
|
|
a1ea0123
|
2015-01-07T20:37:24
|
|
Add support for some nesting, give priority to Markdown over Markup, fixed example
|
|
eaf8ac0c
|
2015-01-07T19:48:29
|
|
Improved Markdown + added example
|
|
92878f6b
|
2014-12-11T20:29:36
|
|
Improved Markdown titles detection
|
|
6b37690d
|
2014-12-10T22:54:29
|
|
Added Markdown language
|