Skip to content

Latest commit

 

History

History
166 lines (108 loc) · 5.07 KB

CHANGELOG.md

File metadata and controls

166 lines (108 loc) · 5.07 KB

Change Log

0.6.1 - 2021-01-01

This release provides some improvements to the code base:

  • 🐛 FIX: Do not resolve backslash escapes inside auto-links
  • 🐛 FIX: Add content to image tokens
  • 👌 IMPROVE: Add more type annotations, thanks to @hukkinj1

0.6.0 - 2020-12-15

🗑 DEPRECATE: Move plugins to mdit_py_plugins

Plugins (in markdown_it.extensions) have now been moved to executablebooks/mdit-py-plugins. This will allow for their maintenance to occur on a different cycle to the core code, facilitating the release of a v1.0.0 for this package

🔧 MAINTAIN: Add mypy type-checking, thanks to @hukkinj1.

0.5.8 - 2020-12-13

✨ NEW: Add linkify, thanks to @tsutsu3.

This extension uses linkify-it-py to identify URL links within text:

  • github.com -> <a href="http://github.com">github.com</a>

Important: To use this extension you must install linkify-it-py; pip install markdown-it-py[linkify]

It can then be activated by:

from markdown_it import MarkdownIt
md = MarkdownIt().enable("linkify")
md.options["linkify"] = True

0.5.7 - 2020-12-13

✨ NEW: Add smartquotes, thanks to @tsutsu3.

This extension will convert basic quote marks to their opening and closing variants:

  • 'single quotes' -> ‘single quotes’
  • "double quotes" -> “double quotes”

It can be activated by:

from markdown_it import MarkdownIt
md = MarkdownIt().enable("smartquotes")
md.options["typographer"] = True

✨ NEW: Add markdown-it-task-lists plugin, thanks to @wna-se.

This is a port of the JS markdown-it-task-lists, for building task/todo lists out of markdown lists with items starting with [ ] or [x]. For example:

- [ ] An item that needs doing
- [x] An item that is complete

This plugin can be activated by:

from markdown_it import MarkdownIt
from markdown_it.extensions.tasklists import tasklists_plugin
md = MarkdownIt().use(tasklists_plugin)

🐛 Various bug fixes, thanks to @hukkinj1:

  • Do not copy empty env arg in MarkdownIt.render
  • _Entities.__contains__ fix return data
  • Parsing of unicode ordinals
  • Handling of final character in skipSpacesBack and skipCharsBack methods
  • Avoid exception when document ends in heading/blockquote marker

🧪 TESTS: Add CI for Python 3.9 and PyPy3

0.5.6 - 2020-10-21

  • ✨ 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
    • --- → &mdash
    md = MarkdownIt().enable("replacements")
    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

0.5.5 - 2020-09-27

👌 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.

0.5.4 - 2020-09-08

✨ NEW: Add anchors_plugin for headers, which can produce:

<h1 id="title-string">Title String <a class="header-anchor" href="#title-string"></a></h1>

0.5.3 - 2020-09-04

🐛 Fixed an undefined variable in the reference block.

0.5.2 - 2020-08-22

🐛 Fixed an IndexError in container_plugin, when there is no newline on the closing tag line.

0.5.1 - 2020-08-21

⬆️ UPGRADE: attrs -> v20

This is not breaking, since it only deprecates Python 3.4 (see CHANGELOG.rst)

0.5.0 - 2020-08-18

Added ✨

Improved 👌

Fixed 🐛

  • Stopped empty lines at the end of the document, after certain list blocks, raising an exception (#36).
  • Allow myst-role to accept names containing digits (0-9).

0.4.9 - 2020-08-11

Added ✨

Documented 📚

  • Plugins and improved contributing section