Closed andy-twosticks closed 6 months ago
TL;DR for others coming here, this works in a new vanilla markdown int foo
site:
source/stylesheets/highlighting.css.erb
as per the instructions.Add to source/stylesheets/site.css.scss
@import 'highlighting.css'
I've only done a quick test but I also find that it only works properly with redcarpet
(not the default kramdown
). If I get to the bottom of that then I will report back.
Looks like this is still an issue. I believe that since rouge dynamically generates the contents of the file via erb it will only work as a .css.erb file, as sass does not compile from ERB in middleman 4.
The instructions here assume that you can dynamically render a .scss file. I'm told that this does not work for Middleman 4.