aigis-styleguide / aigis

CSS Styleguide Generator

Home Page:http://aigis-styleguide.github.io/aigis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prism theme fix

legoheld opened this issue · comments

Themes from http://prismjs.com require a root tag with:
code[class*="language-"],pre[class*="language-"]
But aigis generates the codeblocks with:
code[class*="lang-"],pre[class*="lang-"]

Sure a search and replace on the prism theme works but would be nice to include it without modification.

Thank you for report 🙏

I fixed it on #91 that already merged.
Also node-aigis@1.2.0 was released 🎉

Could you try node-aigis@1.2.0 or gulp-aigis@1.2.0 ?

You can change codeblock-prefix via aigis_config.yml:

lang_prefix: 'language-'

FYI: defaults value of lang_prefix is language-.

Thank you for the fix! 👍