Commit Graph

3 Commits

Author SHA1 Message Date
cubercsl
9f042524a9
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>
2022-11-01 20:11:00 +08:00
Jimmy Cai
d89def07ac feat: i18n support for codeblock copy text 2022-06-12 14:26:20 +00:00
Jimmy Cai
de08e29b00 feat: use Hugo's code block render hook to implement code copy button
Now it can have i18n support
2022-06-12 11:31:32 +00:00