Tool: Pyflakes Processed Files: djblets/markdown/__init__.py djblets/markdown/extensions/wysiwyg.py djblets/markdown/tests.py djblets/markdown/extensions/wysiwyg_email.py Ignored Files: README djblets/markdown/extensions/__init__.py djblets/static/djblets/css/mixins/markdown.less Tool: PEP8 Style Checker Processed Files: djblets/markdown/__init__.py djblets/markdown/extensions/wysiwyg.py djblets/markdown/tests.py djblets/markdown/extensions/wysiwyg_email.py Ignored Files: README djblets/markdown/extensions/__init__.py djblets/static/djblets/css/mixins/markdown.less
'mark_safe' imported but unused
'Extension' imported but unused
'markdown_unescape' imported but unused
Add all our specialized Markdown rendering/processing to Djblets.
Review Request #7316 — Created May 18, 2015 and submitted
We had a bunch of useful and complex code in Review Board to
render/style Markdown files in a more WYSIWYG-ish format (matching the
output styles/spacing to the input), generate e-mails with Markdown
styles inlined, escape/unescape content for Markdown rendering, and
perform other types of processing.
This isn't specific to Review Board, and would be very nice to reuse, so
it's now in Djblets. The utility functions live in the new
djblets.markdownmodule, with extensions living in
The styles for rendering the Markdown content lives in a new mixin,
which can be injected into any CSS rule the consuming project chooses.
Unit tests pass.
Tested that all the new stuff works with Review Board still (after moving over to this).