Expand description
Shared mdo rendering, watch-mode, temp-output, browser launch, page assembly, and integration helpers.
The crate is organized by its four real concerns (names per GLOSSARY.md):
render (Markdown to fragment plus the deep convert workflow),
page (assets, styles/scripts, document wrapping), temp_output
(per-source private output locations), and launch (browser openers).
Each keeps its internals private behind thin public exports re-exported
here, so caller paths do not change when the layout does.
Re-exports§
pub use launch::launch_browser;pub use render::convert;pub use render::render_markdown_document;pub use render::ConvertOutcome;pub use render::ConvertRequest;pub use render::RenderError;pub use render::StageTimings;pub use temp_output::temp_output_for;
Modules§
- file_
manager - handler
- The Open-as-HTML handler invocation contract.
- launch
- Launch: browser openers. Non-blocking, fire-and-forget platform openers plus the xdg-open/gio fallback chain.
- page
- Page assembly: everything that turns an HTML fragment into the final HTML document - styles, scripts, and document wrapping.
- render
- Render pipeline: the path from Markdown source to an HTML fragment - parsing, syntax-highlight splicing, sanitizing, title derivation, in that order, sanitized once, after splicing - plus the single deep workflow entry point (convert) that reads the source, renders, and writes the page with per-worker private-output safeguards.
- temp_
output - Temp output: the per-source private location under the OS temp directory where rendered pages are written for opening. Stable per source path; never written next to the source.
- watch
- Watch-mode mechanics, behind one interface: folder watching, event relevance, and the trailing-edge debounce.