✨ Add halo render
This commit is contained in:
parent
899eaf6868
commit
8cb1320cc3
|
@ -1,3 +1,5 @@
|
|||
> UPSTREAM https://github.com/88250/lute.git
|
||||
|
||||
<p align = "center">
|
||||
<img alt="Lute" src="https://b3log.org/images/brand/lute-128.png">
|
||||
<br><br>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -697,7 +697,7 @@ func (r *BaseRenderer) NodeAttrsStr(node *ast.Node) (ret string) {
|
|||
}
|
||||
|
||||
// languagesNoHighlight 中定义的语言不要进行代码语法高亮。这些代码块会在前端进行渲染,比如各种图表。
|
||||
var languagesNoHighlight = []string{"mermaid", "echarts", "abc", "graphviz", "mindmap", "flowchart", "plantuml"}
|
||||
var languagesNoHighlight = []string{"halo", "mermaid", "echarts", "abc", "graphviz", "mindmap", "flowchart", "plantuml"}
|
||||
|
||||
func NoHighlight(language string) bool {
|
||||
if "" == language {
|
||||
|
|
Loading…
Reference in New Issue