Skip to main content

Crate sim_lib_view_doc

Crate sim_lib_view_doc 

Source
Expand description

Scientific article workspace lens for the SIM Web-UI (WEBUI_4).

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 is the document value model; lens is the formatted and source lenses plus export over a stable intermediate document value.

Re-exports§

pub use doc::ARTICLE_CLASS;
pub use doc::article;
pub use doc::blocks;
pub use doc::citation;
pub use doc::embed_block;
pub use doc::equation;
pub use doc::figure;
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::with_cache;

Modules§

doc
The document value model.
lens
The article lenses: formatted view, source view, and export.

Structs§

DocArticleDescriptor
A validated documentation article wrapped as a runtime Citizen object.

Constants§

ARTICLE_LENS
Stable symbol for the scientific article lens.

Functions§

doc_article_class_symbol
Returns the class symbol for the documentation article Citizen.