erusev / parsedown-extra

Markdown Extra Extension for Parsedown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add class to code

ryanapil opened this issue · comments

``` {.hljs .css}
div.code {
    selector: value;
} ```

this doesn't return as expect, using the demo the php markdown extra works as intended but the parsedown just displays the {} as content

My ParsedownExtraPlugin extension has this feature. Check the test file: https://github.com/tovic/parsedown-extra-plugin/blob/master/test/test.blockCodeAttributes.php