Use styles for highlighting in feeds
This commit is contained in:
3
layouts/_default/_markup/render-codeblock.atom.xml
Normal file
3
layouts/_default/_markup/render-codeblock.atom.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
{{ $result := transform.HighlightCodeBlock . (merge .Options (dict "noclasses" true "style" "github")) }}
|
||||
|
||||
{{ $result.Wrapped }}
|
3
layouts/_default/_markup/render-codeblock.rss.xml
Normal file
3
layouts/_default/_markup/render-codeblock.rss.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
{{ $result := transform.HighlightCodeBlock . (merge .Options (dict "noclasses" true "style" "github")) }}
|
||||
|
||||
{{ $result.Wrapped }}
|
Reference in New Issue
Block a user