Expand description
Markup article workspace lens for the SIM Web UI.
The article lens is a real authoring surface, not a markdown textarea: a
round-trippable document value with semantic blocks (section, prose,
equation, figure, table, citation, embedded-runtime block), an outline plus
block canvas, side-by-side source and formatted views as two lenses on the
same document value, and embedded live blocks via scene/embed.
doc adapts article-shaped compatibility helpers to MarkupDoc; lens
is the formatted and source lenses plus export over that shared markup value.
Re-exports§
pub use doc::ARTICLE_CLASS;pub use doc::article;pub use doc::article_from_markup;pub use doc::blocks;pub use doc::citation;pub use doc::embed_block;pub use doc::equation;pub use doc::figure;pub use doc::markup_from_article;pub use doc::prose;pub use doc::section;pub use doc::table;pub use doc::title;pub use lens::ARTICLE_FORMATTED_LENS;pub use lens::ARTICLE_SOURCE_LENS;pub use lens::article_formatted;pub use lens::article_outline;pub use lens::article_source;pub use lens::export_intermediate;pub use lens::export_markdown;pub use lens::markup_edit_from_intent;pub use lens::with_cache;
Modules§
- doc
- The document value adapters.
- lens
- The article lenses: formatted view, source view, edit decoding, and export.
Structs§
- DocArticle
Descriptor - A validated documentation article wrapped as a runtime Citizen object.
Constants§
- ARTICLE_
LENS - Stable symbol for the scientific article lens.
Statics§
- RECIPES
- Embedded cookbook recipe books shipped with this library.
Functions§
- doc_
article_ class_ symbol - Returns the class symbol for the documentation article Citizen.