mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
markup to html progress
This commit is contained in:
parent
f63c276a5f
commit
bc50280c0e
2 changed files with 62 additions and 9 deletions
|
@ -6,15 +6,6 @@ use roc_parse::ast::{Expr, StrLiteral};
|
|||
use roc_region::all::{Region};
|
||||
use roc_code_markup::{markup::nodes::{MarkupNode}};
|
||||
|
||||
impl<'a> ToHtml<'a> for MarkupNode {
|
||||
fn css_class(&self) -> Option<&'a str> {
|
||||
Some("operator")
|
||||
}
|
||||
fn html_body(&self, buf: &mut bumpalo::collections::String<'a>) {
|
||||
buf.push_str("MarkupNode")
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> ToHtml<'a> for Expr<'a> {
|
||||
fn css_class(&self) -> Option<&'a str> {
|
||||
match self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue