Vitaly Puzrin
|
5cd9007edf
|
Render `code_inline` & `code_block` attributes if exist, #261
|
9 years ago |
Vitaly Puzrin
|
b7c868b64b
|
Renderer: token stream should stay immutable, close #260
|
9 years ago |
Alex Kocharin
|
6dbe532460
|
Replace standalone CR with LF when normalizing newlines
fix #252
|
9 years ago |
Marijn Haverbeke
|
5837f6bc5b
|
Add an attrGet method to Token
To make it easier to write code that consumes tokens for
tasks other than generating HTML.
|
9 years ago |
Christopher Breeden
|
a2b7b8e156
|
Fixes #246, HTML Escaping alt-tag twice.
|
9 years ago |
Vitaly Puzrin
|
760050edcb
|
eslint update & code cleanup
|
9 years ago |
Sean Lang
|
86eea8c1d3
|
fix misspelling of "parser"
|
9 years ago |
Sean Lang
|
10d6448b22
|
support tables with missing values
(and add supporting test case)
|
9 years ago |
Alex Kocharin
|
53aec24168
|
Improve performance in `skipToken` when maxNesting is exceeded
|
9 years ago |
Alex Kocharin
|
de4abb573c
|
Fix "too much recursion" error in links
|
9 years ago |
Alex Kocharin
|
07cfbc9264
|
Add workarounds to lists to conform with CM spec
|
9 years ago |
Alex Kocharin
|
0661eea828
|
Remove scheme whitelist for autolinks
|
9 years ago |
Alex Kocharin
|
1482c3e64f
|
Disallow spaces inside links
1. between link label and reference: `[foo] [bar]`
2. inside angular brackets: `[](<foo bar>)`
|
9 years ago |
Alex Kocharin
|
637c776ec5
|
Allow multiline setext headers
|
9 years ago |
Vitaly Puzrin
|
c6d6709c63
|
Demo: updated highlighter options for explicit langs
|
9 years ago |
Vitaly Puzrin
|
6d4f8a0b88
|
typo fix
|
9 years ago |
Vitaly Puzrin
|
6371151253
|
Doc fix
|
9 years ago |
Vitaly Puzrin
|
87ece24ff9
|
Allow full content override from highlighter
|
9 years ago |
Vitaly Puzrin
|
d196089874
|
.attrPush() -> .attrJoin() in fenced block renderer
|
9 years ago |
Vitaly Puzrin
|
18f1531024
|
New .attrJoin() & .attrSet() methods in Token
|
9 years ago |
Alex Kocharin
|
f2344b5cbc
|
Add `content` property to image token
close https://github.com/markdown-it/markdown-it/issues/184
|
9 years ago |
Alex Kocharin
|
a18ddc0223
|
Loosen table rules
1. allow one-column tables
2. allow mismatched column count
close https://github.com/markdown-it/markdown-it/issues/171
|
9 years ago |
Alex Kocharin
|
946b1a1961
|
Take into account adjacent tokens in smartquotes
close https://github.com/markdown-it/markdown-it/issues/181
|
9 years ago |
Alex Kocharin
|
b2883a7fd2
|
Fix meta information for autolink tokens
|
9 years ago |
Alex Kocharin
|
0318337a3d
|
Bump table priority before code blocks
ref https://github.com/markdown-it/markdown-it/issues/120
|
9 years ago |
Alf Eaton
|
0a6ecd942b
|
Change variable name to remove reserved keyword
|
9 years ago |
Alex Kocharin
|
378ac9074e
|
Change emphasis parsing algorithm
Tokenize first, and replace tokens with emphasis tags on
a second pass using an algorithm close to one used in CM.
|
9 years ago |
Vitaly Puzrin
|
255d62d391
|
Added iframe to list of block tags
|
9 years ago |
Thomas Reggi
|
7a888ec9a2
|
typo for for*
|
9 years ago |
Vitaly Puzrin
|
bf424c8a49
|
deps update, configs & code cleanup
|
9 years ago |
Alex Kocharin
|
b2aee1a978
|
Expand tabs only when it's needed, as per CommonMark 0.21
|
10 years ago |
Alex Kocharin
|
02c04be9e5
|
Fix reference edge-case
|
10 years ago |
Alex Kocharin
|
643d9f75a0
|
Implement new html block algorithm from 0.21
|
10 years ago |
Alex Kocharin
|
909f79e62e
|
Bring ordered list markers up to spec
|
10 years ago |
Alex Kocharin
|
954e156848
|
Allow numbered lists starting from zero
Fixes: https://github.com/markdown-it/markdown-it/issues/129
|
10 years ago |
Alex Kocharin
|
019bbda5f5
|
Fix class injection in fence renderer
Close https://github.com/markdown-it/markdown-it/issues/128
|
10 years ago |
Alex Kocharin
|
86fd73fcba
|
Disallow empty reference labels
|
10 years ago |
Alex Kocharin
|
a7b2b3b4e8
|
Add multichar replacements in smartquotes
fix #115
|
10 years ago |
Alex Kocharin
|
c5ee94aaf6
|
Fix skipLastLF handling in getLines
fix #116
|
10 years ago |
Alex Kocharin
|
d292f72b69
|
Add/fix indentation checking in blockquotes
fix #111
|
10 years ago |
Vitaly Puzrin
|
2bc103844c
|
lint fix
|
10 years ago |
Vitaly Puzrin
|
cec9d91e3e
|
Clarified info about default disabled link schemas
|
10 years ago |
Alex Kocharin
|
25fea504f6
|
Update emphasis to match CommonMark 0.19
|
10 years ago |
Vitaly Puzrin
|
e92f99640f
|
Added security info
|
10 years ago |
JT
|
ba16fad6a2
|
Don't split cells on pipe characters inside backticks.
Includes some relevant test cases.
Fixes #86
|
10 years ago |
Andrey Pissantchev
|
b14b837a04
|
Small fix in ruler documentation example
|
10 years ago |
Vitaly Puzrin
|
6c57f7f792
|
Fixed regexes in prev commit (should match strings from the start only)
|
10 years ago |
Vitaly Puzrin
|
0db98f7b4a
|
Simplified links validator - use regexes
|
10 years ago |
Vitaly Puzrin
|
f76d3beb46
|
Disabled data URIs (allow only some whitelisted images)
|
10 years ago |
Vitaly Puzrin
|
cc87145842
|
Regex workagound for phantomjs, related to #77
|
10 years ago |