mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
docs flow working with mocked markup to html
This commit is contained in:
parent
28cf11a1d9
commit
f63c276a5f
9 changed files with 178 additions and 135 deletions
|
|
@ -1,14 +1,4 @@
|
|||
use crate::html::ToHtml;
|
||||
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")
|
||||
}
|
||||
}
|
||||
|
||||
struct EqualSign;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue