pub struct TextOptions<'a> {
pub params: Option<Object>,
pub parameters: Vec<Parameter>,
pub use_prose: bool,
pub identities: Option<Vec<Identity>>,
pub known: Option<Known<'a>>,
}Expand description
What the text profile knows of a tree beyond its body.
Fields§
§params: Option<Object>Supplied parameter values; a declared default stands in for an absent one (§12).
parameters: Vec<Parameter>The document’s declarations (Reading::parameters).
use_prose: boolOnly the Markdown nodes the reader marked as parsed prose (Node::is_prose) are normalized; others are
copied as written. False: every Markdown node outside an example, a verbatim body or a kind this registry does
not define is.
identities: Option<Vec<Identity>>The local identities (Reading::identities): a typed reference to a missing #id reads [unresolved].
None: none is checked (an empty list: every #id is missing).
known: Option<Known<'a>>For a resolved body: does the instance have the explicit id? A typed reference to #id, or to #alias/id in
an included or inherited instance, that names one it does not have reads [unresolved].