Markdown2

Latest version: v2.4.13

Safety actively analyzes 628918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 10

2.0.1

Not secure
- ["toc" extra] Unescape Markdown special chars in TOC entries. See
<https://github.com/trentm/restdown/issues/15>.

- Now 'tox' testing support (by github.com/msabramo):

[sudo] pip install tox
tox

confirming that markdown2 works with jython (not sure which version) and
pypy! Also added pypy to travis-ci testing
(http://travis-ci.org/#!/trentm/python-markdown2).

2.0.0

Not secure
- [issue 90] Add a `Markdown.preprocess(text) -> text` hook for subclasses.
This is a match for the `Markdown.postprocess(text) -> text` hook added in
an earlier version. (by joestump).

- [issue 90, backward incompatible change] Require a space between the ''
and a text for a title. I.e.:

This still works

This doesn't work

Nor this

This keeps comments, hash tags, and ticket numbers at the beginning of the
line from turning into an h1. (by joestump)

This is a backward incompatible change, however small, hence the version
change to 2.0.0.

1.4.2

Not secure
- [issue 84, issue 87] Fix problems with fenced-code-blocks getting
double-processed.

1.4.1

Not secure
- [issue 67] Fix an sub-`ul` inside a `ol` not working with an indent less
than 4 spaces.

- Fix code blocks and fenced-code-blocks to work with a single leading newline
at the start of the input.

- [issue 86, 'fenced-code-blocks' extra] Fix fenced code blocks not being
parsed out before other syntax elements, like headers.

- [issue 83, 'fenced-code-blocks' and 'code-color' extras] Allow 'cssclass'
code coloring option (passed to pygments) to be overridden (by
https://github.com/kaishaku). E.g.:

import markdown2
html = markdown2.markdown(text,
extras={'fenced-code-blocks': {'cssclass': 'mycode'}})

1.4.0

Not secure
- [issue 64] Python 3 support! markdown2.py supports Python 2 and 3 in the
same file without requiring install-time 2to3 transformation.

1.3.1

Not secure
- [issue 80] Jython 2.2.1 support fix (by github.com/clach04)

Page 6 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.