cynkra / cynkrablog

Source of the cynkra blog
https://cynkra.com/blog
0 stars 1 forks source link

Syntax highlighting for YAML & friends #30

Closed pat-s closed 11 months ago

pat-s commented 11 months ago

I noticed that (at least) YAML code blocks are not syntax highlighted, e.g. https://cynkra.github.io/cynkrablog/blog/posts/2020-12-23-dynamic-gha/.

FYI @maelle

maelle commented 11 months ago

Good catch. Probably a stylesheet problem as the classes are added by Pandoc. On it now (it works on my machine :zany_face:)

maelle commented 11 months ago

it works on https://blog.cynkra.com/blog/posts/2022-05-14-accessing-google-api-via-oauth2/ and https://blog.cynkra.com/blog/posts/2020-12-23-dynamic-gha/

pat-s commented 11 months ago

@maelle Indeed it only seems to be broken on gh-pages

image

There seems to be a {% raw %} placeholder leftover.

maelle commented 11 months ago

or only broken for a previous build, maybe it was an old preview. I'll revisit if needed.