1

I tried a simple test in Github pages to be able to include Modelica language but the highlight does not work on github pages whereas it is working in github markdown rendering

Working here : https://github.com/gautierbureau/gautierbureau.github.io/blob/master/index.md

Not working here : https://gautierbureau.github.io/

I read some stuff abut backtick and tilde and used both but did not change anything... Then I also read some stuff about rouge syntax highlighter but it dit not work either (maybe my configuration was not good but I couln't find any simple solution...)

Gautier Bureau
  • 183
  • 1
  • 1
  • 9
  • Rouge uses different grammars it seems, and there just is no grammar yet for Modelica, e.g. in the dropdown menu here: http://rouge.jneen.net/ but at least there is a corresponding issue: https://github.com/jneen/rouge/issues/989 – matth Dec 04 '18 at 16:37
  • help page is here: https://help.github.com/articles/using-syntax-highlighting-on-github-pages/ and list of supported languages is here: https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers – matth Dec 04 '18 at 16:44
  • Thanks it was very helpful – Gautier Bureau Dec 05 '18 at 09:44

0 Answers0