mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
finished if highlighting
This commit is contained in:
parent
37704323b1
commit
ec1e2cd1d0
12 changed files with 1988 additions and 2488 deletions
|
@ -30,7 +30,6 @@ pub fn mark_node_to_html(
|
|||
|
||||
let css_class = match syn_high_style {
|
||||
Operator => "operator",
|
||||
Comma => "comma",
|
||||
String => "string",
|
||||
FunctionName => "function-name",
|
||||
FunctionArgName => "function-arg-name",
|
||||
|
@ -47,6 +46,7 @@ pub fn mark_node_to_html(
|
|||
DocsComment => "docs-comment",
|
||||
UppercaseIdent => "uppercase-ident",
|
||||
LowercaseIdent => "lowercase-ident",
|
||||
Keyword => "keyword-ident",
|
||||
};
|
||||
|
||||
write_html_to_buf(content, css_class, buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue