Changelog History
Page 6
-
v1.0.1.10 Changes
- Fix sys.path manipulation in setup.py so
easy_install markdown2-*.tar.gz
works. (Henry Precheur pointed out the problem.) - "bin/markdown2" is now a stub runner script rather than a symlink to "lib/markdown2.py". The symlink was a problem for sdist: tar makes it a copy.
- Added 'xml' extra: passes one-liner XML processing instructions and
namespaced XML tags without wrapping in a
<p>
-- i.e. treats them as a HTML block tag.
- Fix sys.path manipulation in setup.py so
-
v1.0.1.1 Changes
- [Issue 3] Fix conversion of unicode strings.
- โ
Make the "safe_mode" replacement test overridable via subclassing: change
Markdown.html_removed_text
. - [Issue 2] Fix problems with "safe_mode" removing generated HTML, instead of just raw HTML in the text.
- โ Add "-s|--safe" command-line option to set "safe_mode" conversion boolean. This option is mainly for compat with markdown.py.
โ Add "link-patterns" extra: allows one to specify a list of regexes that should be automatically made into links. For example, one can define a mapping for things like "Mozilla Bug 1234":
regex: mozilla\s+bug\s+(\d+) href: http://bugzilla.mozilla.org/show_bug.cgi?id=\1
See https://github.com/trentm/python-markdown2/wiki/Extras for details.
โ Add a "MarkdownWithExtras" class that enables all extras (except "code-friendly"):
>>> import markdown2 >>> converter = markdown2.MarkdownWithExtras() >>> converter.convert('...TEXT...') ...HTML...
[Issue 1] Added "code-color" extra: pygments-based (TODO: link) syntax coloring of code blocks. Requires the pygments Python library on sys.path. See https://github.com/trentm/python-markdown2/wiki/Extras for details.
๐ [Issue 1] Added "footnotes" extra: adds support for footnotes syntax. See https://github.com/trentm/python-markdown2/wiki/Extras for details.
-
v1.0.1.0 Changes
- โ Added "code-friendly" extra: disables the use of leading and trailing
_
and__
for emphasis and strong. These can easily get in the way when writing docs about source code with variable_list_this and when one is not careful about quoting. - Full basic Markdown syntax.
๐ฒ (Started maintaining this log 15 Oct 2007. At that point there had been no ๐ releases of python-markdown2.)
- โ Added "code-friendly" extra: disables the use of leading and trailing