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

Indented "fenced code" blocks don't render properly #114

Open
Caleb-Ellis opened this issue Jun 14, 2018 · 1 comment
Open

Indented "fenced code" blocks don't render properly #114

Caleb-Ellis opened this issue Jun 14, 2018 · 1 comment

Comments

@Caleb-Ellis
Copy link
Contributor

https://pastebin.canonical.com/p/wSbR2vHkFc/

In this example, if you run it through documentation-builder you'll see that the first block is <div class="codehilite"> (correct, but it needs to be indented so it doesn't break the list) and the second is properly indented but renders as <code>

screenshot_3

@Caleb-Ellis
Copy link
Contributor Author

Turns out this a markdown fenced code block extension issue.

https://github.com/Python-Markdown/markdown/blob/d321e798228f6db61d0d477b756a34a8f1d5b8d0/docs/extensions/fenced_code_blocks.md

I think this might require a hacky workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant