hugo-theme-stack/layouts/_default/_markup
cubercsl 21bd04ec89
fix(codeblock): pass through the options of chroma (#715)
* fix(codeblock): pass through the options of chroma

Pass through the options of chroma highlighting processing for whom
may use some options in codeblock.

This commit fix problem with the following scenarios:
```python {linenos=true}
print("Hello World")
```

Signed-off-by: cubercsl <2014cais01@gmail.com>

* fix(codeblock): margin of no highlight codeblock

This commit fix the wrong margin value of the codeblock which
can not highlight.

The margin is now use the value of ".article-content pre"

Signed-off-by: cubercsl <2014cais01@gmail.com>

Signed-off-by: cubercsl <2014cais01@gmail.com>
2022-12-03 13:14:37 +01:00
..
render-codeblock.html fix(codeblock): pass through the options of chroma (#715) 2022-12-03 13:14:37 +01:00
render-image.html refactor: remove some usages of default in template 2022-06-12 13:51:46 +00:00
render-link.html feat(article): add render-link hook 2020-08-24 12:07:58 +02:00