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

Python Markdown attr_list syntax ignored by hyde #318

Open
jngeist opened this issue Apr 25, 2016 · 0 comments
Open

Python Markdown attr_list syntax ignored by hyde #318

jngeist opened this issue Apr 25, 2016 · 0 comments

Comments

@jngeist
Copy link

jngeist commented Apr 25, 2016

As indicated in title, when I use the syntax described by the attr_list extension for Python Markdown, the attribute lists I designate are passed through, rather than rendered. So:

- This is a list item {: .testclass }

becomes

<li>This is a list item {: .testclass}</li>

rather than

<li class='testclass'>This is a list item.</li>

The relevant section is within a {% filter markdown|typogrify %} block in the template.

I've tried both specifying attr_list directly and as included in extra in my site.yaml, and neither has worked. The relevant section of my site.yaml:

markdown:
    extensions:
        - attr_list
        - meta
        - headerid
        - outline
        - toc

I'm not sure what's causing the problem, or where to go about debugging it. (The other markdown extensions I'm using work fine, including others loaded by extra when I've used it.) I've seen in another issue that @lakshmivyas uses attr_list without apparent issue, so it may just be me, but I can't figure this out.

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

No branches or pull requests

1 participant