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

Method text_raw

src/ast/cloze.rs:65–68  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::Cloze}; let cloze = Org::parse("{{text}}").first_node:: ().unwrap(); assert_eq!(cloze.text_raw(), "text"); let cloze = Org::parse("{{$\\frac{1}{2}$}{}@id}").first_node:: ().unwrap(); assert_eq!(cloze.text_raw(), "$\\frac{1}{2}$"); let cloze = Org::parse("{{ [[file:my_image.png]] }{hint}}").first_node:: ().unwrap(); assert_eq!(cloze.text_raw(), " [[

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected