cubercslandGitHub 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
2022-10-29 13:51:05 +00:00
2020-09-13 12:24:07 +02:00
2021-10-23 06:51:56 +00:00
2022-06-12 10:07:00 +00:00
2020-08-22 13:20:08 +02:00
2022-09-17 15:38:44 +02:00

image

Hugo Theme Stack

logo

Card-style Hugo theme designed for bloggers.

Quickstart

Use this template: CaiJimmy/hugo-theme-stack-starter

Demo

Documentation

Visit stack.jimmycai.com

Licensed under the GNU General Public License v3.0

Please do not remove the "Theme Stack designed by Jimmy" text and link.

If you want to port this theme to another blogging platform, please let me know🙏.

S
Description
转载留用hugo主题stack
https://stack.cai.im Readme GPL-3.0
22 MiB
Languages
HTML 39.5%
SCSS 34%
TypeScript 25.4%
Shell 1.1%