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
8 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>
8 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
Christopher Breeden
a2b7b8e156
Fixes #246 , HTML Escaping alt-tag twice.
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
bf424c8a49
deps update, configs & code cleanup
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
Vitaly Puzrin
45773e223d
Renderer cleanup
10 years ago
Vitaly Puzrin
917f5dee32
Attrs renderer signature change
10 years ago
Vitaly Puzrin
00117cb2e7
Changes to improve speed on node 0.12 & iojs
10 years ago
Vitaly Puzrin
3730820945
Added token helpers & reorganized renderer
10 years ago
Alex Kocharin
bb4dcf48f4
Set token.markup whereever appropriate
10 years ago
Alex Kocharin
4aabd5592e
Use a common class for tokens
10 years ago
Alex Kocharin
4f6e8d4830
Improve replaceEntities handling
1. Use unescapeAll instead of replaceEntities(unescapeMd(...))
2. Move replaceEntities(title) out of the renderer.
10 years ago
Vitaly Puzrin
9a7584f4a7
removed unused code
10 years ago
Vitaly Puzrin
0c7086f51f
changelog & apidoc update
10 years ago
Vitaly Puzrin
fe04849911
Reformattted renderer fns - more compact
10 years ago
Vitaly Puzrin
2090fd4998
del -> strikethrough
10 years ago
Vitaly Puzrin
90e5a9c9cc
Bulk rules rename (unify)
10 years ago
Vitaly Puzrin
26ee0a6252
Removed deflist rule (move to plugin)
10 years ago
Vitaly Puzrin
57d56c43fb
Removed footnote rules (move to plugin)
10 years ago
Vitaly Puzrin
c0ccaa79ce
Removed abbr rules (move to plugin)
10 years ago
Vitaly Puzrin
04ee60d3c4
Removed unused code & improved tests coverage for some rules.
10 years ago
Vitaly Puzrin
d5f43dd9b6
Dropped custom fences support - overcomplication
10 years ago
Vitaly Puzrin
814f85af96
Fixed sub-sup tokens format. Closes #21
10 years ago
Vitaly Puzrin
56001200c0
Added link target attribute support for plugins
10 years ago
Vitaly Puzrin
c6807cf2b4
Fixed line breaks in deflist
10 years ago
Vitaly Puzrin
96402b5e7b
apidoc: docs update + Renderer info
10 years ago
Alex Kocharin
d7221761fb
Render image labels as text
10 years ago
Vitaly Puzrin
2a9218cf60
Updated line breaks rendering logic
10 years ago
Vitaly Puzrin
8a67cb3a83
Do browserified output ascii-friendly
10 years ago
Vitaly Puzrin
761947f2fb
More safe properties check
10 years ago
Vitaly Puzrin
d2494796ce
Updated footnotes layout/styles
10 years ago
Alex Kocharin
4649deb59b
Deduplicate footnotes
10 years ago
Vitaly Puzrin
dc960ed60a
Added extension to renderer
10 years ago
Vitaly Puzrin
9c436cebc1
Moved html escape helper to utils
10 years ago
Alex Kocharin
3f16868edd
Add definition lists
10 years ago
Alex Kocharin
faae7485b7
Add footnote rules
10 years ago
Alex Kocharin
d54ed887f4
Normalize links before they hit renderer
10 years ago
Vitaly Puzrin
f8e270f6e0
Added renderer rules rewrite test
10 years ago
Vitaly Puzrin
47432ce76e
Updated renderer signatures (pass env)
10 years ago
loveencounterflow
6cc4662035
rules must reference this.rules in renderInline
10 years ago
Vitaly Puzrin
054ff554f5
Improved coverage and removed unused code
10 years ago
Vitaly Puzrin
2058ae5458
Added highlight test
10 years ago
Alex Kocharin
2c286f5aed
Add abbreviations
10 years ago
Vitaly Puzrin
0de39dc5b7
Coverage improve
10 years ago
Alex Kocharin
d39417e100
Added a core chain
10 years ago
Alex Kocharin
74602dba90
Fix spaces in subscript and superscript
10 years ago