ChrisPenner/slick

How to enable syntax highlighting?

Closed this issue · 4 comments

Hi. I know I've had this working in the past, but I assumed this would work.

https://gitlab.com/shakebook-site/shakebook-site.gitlab.io/-/blob/master/app/Main.hs#L123

But I'm not seeing any syntax highlighting, here

https://shakebook-site.gitlab.io/docs/

It seems I have to somehow get this to evaluate

    $if(highlighting-css)$
      <style type="text/css">
    $highlighting-css$
      </style>
    $endif$

Hrmm? I'm seeing highlighting on the page you linked:
image

Sorry, I actually hardcopied the CSS that it should generate to get it working on master since I posted this. I still can't get the mustache directives and the pandoc directives to play together.

Is it possible it's related to the templating variable problems in #12 ?