refactor: consolidate code block rendering and enhance styling features (#665)

reference issues: #312, #476
This commit is contained in:
Cell
2025-12-19 23:31:18 +08:00
parent 0a614e1763
commit f2b6218edc
12 changed files with 461 additions and 467 deletions
+1 -2
View File
@@ -17,6 +17,5 @@
{{- site.Home.Store.Set "hasJsonViewer" true -}}
{{- end -}}
{{- else -}}
{{- $result := transform.HighlightCodeBlock . -}}
{{- $result.Wrapped -}}
{{- partial "plugin/code-block-wrapper.html" . -}}
{{- end -}}