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

Method title

src/ast/headline.rs:115–121  ·  view source on GitHub ↗

Returns parsed title ```rust use orgize::{Org, ast::Headline, SyntaxKind}; let hdl = Org::parse("*** abc *abc* /abc/ :tag:").first_node:: ().unwrap(); let title = hdl.title().collect:: >(); assert_eq!(title[1].kind(), SyntaxKind::BOLD); assert_eq!(title[1].to_string(), "*abc*"); assert_eq!(title[3].kind(), SyntaxKind::ITALIC); assert_eq!(title[3].to_string(), "/abc/"); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

is_commentedMethod · 0.45

Calls 1

findMethod · 0.80

Tested by

no test coverage detected