We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 highlighting doesn't work for me. There is a whole Markdown object passed to template from code_hilite.markdown_to_html function.
Current code in blog.utils.code_hilite is:
def markdown_to_html(text): """ Convert markdown to HTML with code hiliting """ md = MARKDOWN md.source = text return unicode(md)
it works for me only when I replace function's body with:
return markdown.markdown(text)
To have syntax highlighting working I have to use:
return markdown.markdown(text, extensions=('codehilite',))
The text was updated successfully, but these errors were encountered:
same issue for me, this fix makes it better. thanks
Sorry, something went wrong.
No branches or pull requests
Markdown highlighting doesn't work for me. There is a whole Markdown object passed to template from code_hilite.markdown_to_html function.
Current code in blog.utils.code_hilite is:
it works for me only when I replace function's body with:
To have syntax highlighting working I have to use:
The text was updated successfully, but these errors were encountered: