Syntax highlighting in jekyll using redcarpet

后端 未结 3 715
滥情空心
滥情空心 2021-01-06 02:45

I\'m trying to get code highlighting to work for a simple blog built with jekyll. I want to be able to do code highlighting within posts written in markdown so I enabled red

3条回答
  •  天涯浪人
    2021-01-06 03:00

    You can create the CSS with the highlighter itself

    rougify style > rouge.css
    

    Or

    coderay stylesheet > coderay.css
    

提交回复
热议问题