You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently shell code blocks are highlighted in sublime 2, however as soon as I change the code block language to bash there is no more highlighting.
This would normally not be a problem, except that when I convert the .md to html using pandoc, code blocks labelled as shell do not get shaded and highlighted in the final html, whereas those labelled as bash do. In summary:
shell: Code highlighted in md file, code formatted as normal text in html
bash: Code not highlighted in md file, code highlighted in html.
Of course I would like to have the best of both worlds :) So the question is, can code blocks labelled as bash have the same formation as those labelled with shell? I would imagine this would be a simple change in a line of code somewhere, adding highlight support to bash using the same setting as for shell. I thought that I could do it myself, but I can't find where and what to change.
Cheers.
The text was updated successfully, but these errors were encountered:
adomingues
added a commit
to adomingues/AcademicMarkdown
that referenced
this issue
Aug 1, 2016
Fenced code labelled as "bash" now highlighted following the same rules as for "shell". Fixes minor [issue](mangecoeur#12) when converting makdown to html via pandoc.
adomingues
added a commit
to adomingues/AcademicMarkdown
that referenced
this issue
Aug 1, 2016
Fenced code labelled as "bash" now highlighted following the same rules as for "shell". Fixes minor [issue](mangecoeur#12) when converting makdown to html via pandoc.
Currently
shell
code blocks are highlighted in sublime 2, however as soon as I change the code block language tobash
there is no more highlighting.This would normally not be a problem, except that when I convert the .md to html using pandoc, code blocks labelled as
shell
do not get shaded and highlighted in the final html, whereas those labelled asbash
do. In summary:Of course I would like to have the best of both worlds :) So the question is, can code blocks labelled as
bash
have the same formation as those labelled withshell
? I would imagine this would be a simple change in a line of code somewhere, adding highlight support tobash
using the same setting as for shell. I thought that I could do it myself, but I can't find where and what to change.Cheers.
The text was updated successfully, but these errors were encountered: