All Versions
53
Latest Version
Avg Release Cycle
208 days
Latest Release
-

Changelog History
Page 3

  • v2.2.1 Changes

    • [issue #142 pull #141] Fix parentheses and spaces in urls.
    • [issue #88 issue #95 pull #145] Fix code blocks in code blocks with syntax highlighting.
    • [issue #113 issue #127 via pull #144] Fix fenced-code-blocks html and code output.
    • ๐Ÿ’… [pull #133] Unify the -/= and ## style headers and fix TOC order
    • [pull #146] tag-friendly extra to require that atx headers have a space after #
  • v2.2.0 Changes

    • [issue #135] Fix fenced code blocks odd rendering.
    • [pull #138] specify shell in Makefile
    • [pull #130] break-on-newline extra
    • [pull #140] Allow html-classes for img
    • [pull #122] Allow parentheses in urls
  • v2.1.0 Changes

    • ๐Ÿ‘ ["nofollow" extra, issue #74, pull #104] Add rel="nofollow" support (mostly by https://github.com/cdman):

      $ echo '[link](http://example)' | markdown2 -x nofollow
      <p><a rel="nofollow" href="http://example">link</a></p>
      

    Limitation: This can add a duplicate 'rel' attribute to raw HTML links in the input.

  • v2.0.1 Changes

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

  • v2.0.0 Changes

    • [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.

  • v1.4.2 Changes

    • [issue #84, issue #87] Fix problems with fenced-code-blocks getting double-processed.
  • v1.4.1 Changes

    • [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'}})
      
  • v1.4.0 Changes

    • ๐Ÿ‘ [issue #64] Python 3 support! markdown2.py supports Python 2 and 3 in the same file without requiring install-time 2to3 transformation.
  • v1.3.1 Changes

    • ๐Ÿ‘ [issue #80] Jython 2.2.1 support fix (by github.com/clach04)
  • v1.3.0 Changes

    • ๐Ÿ—„ Deprecate code-color extra. Use the fenced-code-block extra and its cleaner mechanism for specifying the language, instead. This extra will be removed in v2.0 or so.

    • ๐Ÿ†• New fenced-code-blocks extra. It allows a code block to not have to be indented by fencing it with '```' on a line before and after. Based on GFM.

      Some code:
      
      ```
      print "hi"
      ```
      

    It includes support for code syntax highlighting as per GFM. This requires the pygments Python module to be on the pythonpath.

        ```python
        if True:
            print "hi"
        ```