Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GitHub-flavored Markdown #67

Merged
merged 2 commits into from
Mar 19, 2018
Merged

Commits on Mar 18, 2018

  1. Add support for GitHub-flavored Markdown

    This uses the [cmarkgfm](https://pypi.org/project/cmarkgfm/) package to render the "gfm" variant of Markdown. It also preferentially uses cmarkgfm for CommonMark as it is CommonMark compliant (and fast).
    
    Notes:
    * The cmarkgfm library is currently an *extra* dependency (``readme_renderer[gfm]``) mostly because I don't yet have wheels for cmarkgfm.
    * I added a ton of fixtures for gfm based on GitHub's [own spec](https://github.github.com/gfm/). They had to be tweaked a little because bleach changes the output very slightly (such as adding `rel="nofollow"`).
    theacodes committed Mar 18, 2018
    Configuration menu
    Copy the full SHA
    2132b0c View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2018

  1. Remove usage of strip()

    Jon Wayne Parrott committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    93589c7 View commit details
    Browse the repository at this point in the history