Skip to content

Releases: facelessuser/pymdown-extensions

10.0.1

16 May 05:33
7c13bda
Compare
Choose a tag to compare

10.0.1

  • FIX: Regression related to snippets nested deeply under specified base path.

10.0

15 May 16:19
Compare
Choose a tag to compare

10.0

  • Break: Snippets: snippets will restrict snippets to ensure they are under the base_path preventing snippets
    relative to the base_path but not explicitly under it. restrict_base_path can be set to False for legacy
    behavior.

9.11

07 Apr 18:14
Compare
Choose a tag to compare

9.11

  • NEW: Emoji: Update to new CDN and use Twemoji 14.1.2.
  • NEW: Snippets: Ignore nested snippet section syntax when including a section.

9.10

05 Mar 15:58
Compare
Choose a tag to compare

9.10

  • NEW: Blocks: Add new experimental general purpose blocks that provide a framework for creating fenced block
    containers for specialized parsing. A number of extensions utilizing general purpose blocks are included and are meant
    to be an alternative to (and maybe one day replace): Admonitions, Details, Definition Lists, and Tabbed. Also adds a
    new HTML plugin for quick wrapping of content with arbitrary HTML elements.
  • NEW: Highlight: When enabling line spans and/or line anchors, if a code block has an ID associated with it, line
    ids will be generated using that code ID instead of the code block count.
  • NEW: Snippets: Expand section syntax to allow section names with - and _.
  • NEW: Snippets: When check_paths is enabled, and a specified section is not found, raise an error.
  • NEW: Snippets: Add new experimental feature dedent_sections that will de-indent (remove any common leading
    whitespace from every line in text) from that block of text.
  • NEW: MagicLink: Update GitLab links to match recent changes and to be more correct.
  • NEW: MagicLink: Relax required hash length when performing link shortening.

9.10b5

02 Mar 05:08
Compare
Choose a tag to compare
9.10b5 Pre-release
Pre-release

9.10b5

  • NEW: Blocks: Add type_multi and type_none validators.
  • NEW: Blocks: Rename on_parse to on_validate and pass in parent element as context for validation.
  • NEW: Blocks: When a block uses raw mode, allow content to be indented to avoid conflicts with HTML parser. raw
    blocks should be indented and are now documented as such. The results will be dedented up to Python Markdown's tab
    length, so intentional indentation is still possible. raw blocks with no indentation will still work, but may have
    conflicts with other extensions.
  • FIX: Blocks: Commenting out all YAML options will not cause a block to invalidate.

9.10b4

28 Feb 14:31
Compare
Choose a tag to compare
9.10b4 Pre-release
Pre-release

9.10b4

  • NEW: Blocks: Add on_inline_end event.

9.10b3

25 Feb 15:07
61396db
Compare
Choose a tag to compare
9.10b3 Pre-release
Pre-release

9.10b3

  • NEW: Blocks: Ensure inline mode is handled properly.
  • NEW: Blocks: When using raw mode, ensure HTML stashed content is extracted.
  • NEW: HTML: The Blocks HTML extension should use inline specifier instead of span.

9.10b2

24 Feb 15:53
Compare
Choose a tag to compare
9.10b2 Pre-release
Pre-release

9.10b2

  • NEW: Blocks: Add new experimental general purpose blocks that provide a framework for creating fenced block
    containers for specialized parsing. A number of extensions utilizing general purpose blocks are included and are meant
    to be an alternative to (and maybe one day replace): Admonitions, Details, Definition Lists, and Tabbed. Also adds a
    new HTML plugin for quick wrapping of content with arbitrary HTML elements.
  • NEW: Highlight: When enabling line spans and/or line anchors, if a code block has an ID associated with it, line
    ids will be generated using that code ID instead of the code block count.
  • NEW: Snippets: Expand section syntax to allow section names with - and _.
  • NEW: Snippets: When check_paths is enabled, and a specified section is not found, raise an error.
  • NEW: Snippets: Add new experimental feature dedent_sections that will de-indent (remove any common leading
    whitespace from every line in text) from that block of text.
  • NEW: MagicLink: Update GitLab links to match recent changes and to be more correct.
  • NEW: MagicLink: Relax required hash length when performing link shortening.

9.10b1

22 Feb 16:08
Compare
Choose a tag to compare
9.10b1 Pre-release
Pre-release

9.10b1

  • NEW: HTML General block now accepts Emmet style attribute: /// html | div.class#id[name=value].
  • NEW: Block attribute specifier is renamed from attributes to attrs.
  • NEW: Remove colon_syntax option and cement that we are using /// format moving forward.
  • NEW: Revise available validators for Block options. Remove unnecessary validators and replace some with new ones.
  • NEW: Simplify argument API.
  • NEW: Block extensions can now be registered directly as normal Python Markdown extensions.

9.10a3

12 Feb 19:36
Compare
Choose a tag to compare
9.10a3 Pre-release
Pre-release

9.10a3

  • NEW: General blocks now use an indented option block right after the header. yaml_indent option has been
    removed.
  • NEW: Added new "Definition" block that allows the creation of definition lists.
  • NEW: Simplified argument configuration.
  • NEW: Some internal cleanup.
  • NEW: Documented current API.