assemble / assemble.io

Website and documentation for Assemble.

Home Page:http://assemble.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown Fences - syntax highlighting doing nothing

DigitalKrony opened this issue · comments

Afternoon,

Am I missing something? I have a rendering pipeline set up with assemble.io via an express server and everything is rendering as expected. However, when I add in bracket fences for Markdown there seems to be an issue with the syntax highlighting. It does drop the code into <code> and <pre> tags as expected and when I add in the language identifier after the top fence it does add in the class="language-[LANG] like you would think it would, however, it does nothing to the code within it (e.g. wrapping the tag elements, attributes, important names, etc. in span tags).

Is there a helper I need to add to the pipeline and pass the file through? So far I've tried adding prismjs, but that flattened the entire page into code (not ideal).

@DigitalKrony Thanks for the issue! If you're reporting a bug, please be sure to include:

  • The version of assemble you are using.
  • Your assemblefile.js (This can be in a gist)
  • The commandline output. (Screenshot or gist is fine)
  • What you expected to happen instead.

@DigitalKrony this question is probably better suited for stack overflow. If you create one there, you can tag it with assemble and link to it here. Also, please include more information about the version of assemble you're using and code showing your configuration and some examples of the templates with the markdown code blocks and any helpers that you're using.

I'm going to close the issue, but please post back with a link to the stack overflow question.

resolved on my own. thanks.