-
Notifications
You must be signed in to change notification settings - Fork 88
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
Markdown #51
Markdown #51
Commits on Jul 29, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 4661701 - Browse repository at this point
Copy the full SHA 4661701View commit details -
Add support for markdown.extensions.fenced_code
Allows GitHub-style backtick syntax for code -- e.g.: ```python import os def add(a, b): return a + b ```
Configuration menu - View commit details
-
Copy full SHA for 477fb1a - Browse repository at this point
Copy the full SHA 477fb1aView commit details -
Add support for markdown.extensions.smart_strong
Allows markup like: Text with double__underscore__words. And it will render the double underscores within the words instead of taking them to mean to format as strong.
Configuration menu - View commit details
-
Copy full SHA for 9075696 - Browse repository at this point
Copy the full SHA 9075696View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2146e3 - Browse repository at this point
Copy the full SHA a2146e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 278d3f5 - Browse repository at this point
Copy the full SHA 278d3f5View commit details -
test_github_backtick_syntax_for_code: Use files
Solves PEP 8 line too long errors
Configuration menu - View commit details
-
Copy full SHA for bb91f67 - Browse repository at this point
Copy the full SHA bb91f67View commit details -
Fixes the following test failure (e.g.: https://travis-ci.org/pypa/readme_renderer/jobs/148390785): ``` if "<" in expected: > assert out == expected E assert '<p>Here is s...nkey</a></p>\n' == '<p>Here is so...nkey</a></p>\n' E Skipping 734 identical leading characters in diff, use -v to show E - n class="s1">'Ruff!'</span><span class="p">)</span> E ? - E + n class="s">'Ruff!'</span><span class="p">)</span> E E - <span class="n">dog</span> <span class="o">=</span> <span class="n">Dog</span><span class="p">(</span><span class="s1">'Fido'</span><span class="p">)</span> E ? - E + <span class="n">dog</span> <span class="o">=</span> <span class="n">Dog</span><span class="p">(</span><span class="s">'Fido'</span><span class="p">)</span> E </pre> E Detailed information truncated (6 more lines), use "-vv" to show tests/test_rst.py:31: AssertionError ```
Configuration menu - View commit details
-
Copy full SHA for 0c19023 - Browse repository at this point
Copy the full SHA 0c19023View commit details -
Configuration menu - View commit details
-
Copy full SHA for fac5ef3 - Browse repository at this point
Copy the full SHA fac5ef3View commit details -
Update expected HTML for markdown tests
I guess the output of [Markdown](https://pypi.python.org/pypi/Markdown) changed a bit?
Configuration menu - View commit details
-
Copy full SHA for 264dbfd - Browse repository at this point
Copy the full SHA 264dbfdView commit details
Commits on Apr 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b44841b - Browse repository at this point
Copy the full SHA b44841bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a453383 - Browse repository at this point
Copy the full SHA a453383View commit details -
Markdown: Make markdown.render() and rst.render() signature match.
Also, the only case bool(markdown.markdown(?)) can give False looks like when given an empty string, itself returning and empty string. However, on very unparsable case, markdown.markdown() can raise a ValueError, let's catch it so we can fallback later on txt rendering.
Configuration menu - View commit details
-
Copy full SHA for 1f80f19 - Browse repository at this point
Copy the full SHA 1f80f19View commit details -
Markdown: Add a readme_renderer.any.render(raw)
This allow to replace occurrences of: description_html = readme_renderer.rst.render(release["description"]) if description_html is None: description_html = readme_renderer.txt.render(release["description"]) release["description_html"] = description_html to simply: release["description_html"] = readme_renderer.any.render(release["description"]) And gaining rendring or Markdown.
Configuration menu - View commit details
-
Copy full SHA for 199096a - Browse repository at this point
Copy the full SHA 199096aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd19b1 - Browse repository at this point
Copy the full SHA 0fd19b1View commit details
Commits on Apr 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9481730 - Browse repository at this point
Copy the full SHA 9481730View commit details
Commits on Jul 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0dd7f3b - Browse repository at this point
Copy the full SHA 0dd7f3bView commit details