hugo-theme-stack/layouts
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
..
_default fix(codeblock): pass through the options of chroma (#715) 2022-12-03 13:14:37 +01:00
page refactor: remove some usages of default in template 2022-06-12 13:51:46 +00:00
partials Merge branch 'master' into canary 2022-10-29 13:51:05 +00:00
shortcodes feat(article): GitLab Snippets Shortcode (#627) 2022-06-11 11:04:20 +02:00
404.html refactor(i18n): translation key renaming (#68) 2020-12-19 01:41:26 +01:00
index.html refactor: drop support for hidden field in front matter 2022-06-12 11:42:35 +00:00