Add render hooks for codeblocks, headings, and images
This commit is contained in:
parent
4bc1390b3c
commit
d73c779508
3 changed files with 22 additions and 0 deletions
4
layouts/_default/_markup/render-codeblock.html
Normal file
4
layouts/_default/_markup/render-codeblock.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{- $highlighted := transform.HighlightCodeBlock . -}}
|
||||
<pre class="codeblock">
|
||||
{{- $highlighted.Inner -}}
|
||||
</pre>
|
||||
Loading…
Add table
Add a link
Reference in a new issue