Alex Kocharin
04d36a3f1a
Fix smartquotes around softbreaks
close https://github.com/markdown-it/markdown-it/issues/430
7 years ago
Cyril Auburtin
3e048188c0
typo
7 years ago
Alex Kocharin
2959f8c27c
Update CommonMark spec to 0.28
8 years ago
Alex Kocharin
a733ffa8b6
Fix blockquote termination inside lists
close https://github.com/markdown-it/markdown-it/issues/386
8 years ago
Rifat Nabi
696231b28d
Fix a small typo
8 years ago
Zanin Andrea
b7dd15fa9c
typo correction
8 years ago
Ullallulloo
bf4ba21254
Fixed typos in comment
8 years ago
Alex Kocharin
c57f593b23
Fix blockquote termination by list item
close https://github.com/markdown-it/markdown-it/issues/338
8 years ago
Vitaly Puzrin
c9199b582d
Better error message for bad input type, close #324
8 years ago
Alex Kocharin
f0e7e562ea
Fix blockquote termination inside indented lists
close https://github.com/markdown-it/markdown-it/issues/329
8 years ago
Alex Kocharin
dc1c392a4d
Remove tabs at the beginning of the line in paragraphs
8 years ago
Alex Kocharin
d29f421927
Fix table indentation issues
close https://github.com/markdown-it/markdown-it/issues/325
reverts https://github.com/markdown-it/markdown-it/pull/224
8 years ago
Vitaly Puzrin
09e9ad1688
Add missed h2..h6 to whitelisted block tags
9 years ago
Alex Kocharin
9eb2a26005
Fix backtick handling inside tables
Fix https://github.com/markdown-it/markdown-it/issues/303
9 years ago
Alex Kocharin
93544ee4bf
Fenced code block info string should not contain fence marker
Fix https://github.com/markdown-it/markdown-it/issues/301
9 years ago
Igor Bochkariov
ebc9f50759
fallback to reference if a link is not valid
This commit makes martdown-it pass a new example introduced in cfc8416447
```
[foo](not a link)
[foo]: /url1
.
<p><a href="/url1">foo</a>(not a link)</p>
```
Ref: https://github.com/jgm/CommonMark/issues/427
9 years ago
Alex Kocharin
f5a06ec0b6
Make link/image/reference helpers overridable
9 years ago
Alex Kocharin
1bb254b879
Allow tabs inside GFM tables
9 years ago
Alex Kocharin
7a053ef4c5
Fix tab behavior inside blockquotes
9 years ago
Alex Kocharin
18dd8e3a71
Fix list terminating paragraph shenanigans
9 years ago
Alex Kocharin
1ecf143db0
Fix lists and headings
9 years ago
Alex Kocharin
f07d3862ff
Implement odd matching rules for emphasis
9 years ago
Alex Kocharin
e5696e5b36
Partially fix tabs inside code blocks
9 years ago
Alex Kocharin
9335394a99
Disable replacements inside autolinks
close https://github.com/markdown-it/markdown-it/issues/272
9 years ago
arve0
e9306a572c
fence renderer: fix concat of class array
Before:
<pre c="l"><code>...
Now:
<pre class="someClass language-python><code>...
Bug introduced in b7c868b64b
9 years ago
arve0
4c4b66bd57
code renderer: do not render double space before attrs
renderAttrs already adds a space before attributes
Before:
<code class="language-python">for i in range(10):</code>
Now:
<code class="language-python">for i in range(10):</code>
9 years ago
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
10 years ago
Vitaly Puzrin
6d4f8a0b88
typo fix
10 years ago
Vitaly Puzrin
6371151253
Doc fix
10 years ago
Vitaly Puzrin
87ece24ff9
Allow full content override from highlighter
10 years ago
Vitaly Puzrin
d196089874
.attrPush() -> .attrJoin() in fenced block renderer
10 years ago
Vitaly Puzrin
18f1531024
New .attrJoin() & .attrSet() methods in Token
10 years ago
Alex Kocharin
f2344b5cbc
Add `content` property to image token
close https://github.com/markdown-it/markdown-it/issues/184
10 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
10 years ago
Alex Kocharin
946b1a1961
Take into account adjacent tokens in smartquotes
close https://github.com/markdown-it/markdown-it/issues/181
10 years ago
Alex Kocharin
b2883a7fd2
Fix meta information for autolink tokens
10 years ago