MCPcopy Create free account
hub / github.com/PoiScript/orgize / render

Method render

src/export/html.rs:88–91  ·  view source on GitHub ↗

Render syntax node to html string ```rust use orgize::{Org, ast::Bold, export::HtmlExport, rowan::ast::AstNode}; let org = Org::parse("* /hello/ *world*"); let bold = org.first_node:: ().unwrap(); let mut html = HtmlExport::default(); html.render(bold.syntax()); assert_eq!(html.finish(), " world "); ```

(&mut self, node: &SyntaxNode)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

elementMethod · 0.80

Tested by

no test coverage detected