✨ NEW: Add simple typographic replacements, thanks to @tsutsu3: This allows you to add the typographer
option to the parser, to replace particular text constructs:
(c)
, (C)
→ ©(tm)
, (TM)
→ ™(r)
, (R)
→ ®(p)
, (P)
→ §+-
→ ±...
→ …?....
→ ?..!....
→ !..????????
→ ???!!!!!
→ !!!,,,
→ ,--
→ &ndash---
→ &mdashmd = MarkdownIt() md.options["typographer"] = True
📚 DOCS: Improve documentation for CLI, thanks to @westurner
👌 IMPROVE: Use re.sub()
instead of re.subn()[0]
, thanks to @hukkinj1
🐛 FIX: An exception raised by having multiple blank lines at the end of some files
👌 IMPROVE: Add store_labels
option.
This allows for storage of original reference label in link/image token's metadata, which can be useful for renderers.
✨ NEW: Add anchors_plugin
for headers, which can produce:
<h1 id="title-string">Title String <a class="header-anchor" href="#title-string">¶</a></h1>
🐛 Fixed an undefined variable in the reference block.
🐛 Fixed an IndexError
in container_plugin
, when there is no newline on the closing tag line.
⬆️ UPGRADE: attrs -> v20
This is not breaking, since it only deprecates Python 3.4 (see CHANGELOG.rst)
deflist
and dollarmath
plugins (see plugins list).containers
plugin (see plugins list)