From 9f042524a92d124912dc14b7508bdbc1a51b1843 Mon Sep 17 00:00:00 2001 From: cubercsl <2014cais01@gmail.com> Date: Tue, 1 Nov 2022 20:06:12 +0800 Subject: [PATCH] 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> --- layouts/_default/_markup/render-codeblock.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-codeblock.html b/layouts/_default/_markup/render-codeblock.html index 21c5100..f9f077e 100644 --- a/layouts/_default/_markup/render-codeblock.html +++ b/layouts/_default/_markup/render-codeblock.html @@ -13,7 +13,7 @@
{{- if transform.CanHighlight $lang -}} -{{- .Inner -}}
{{- end -}}