Skip to main content

Crate mdo_cli

Crate mdo_cli 

Source
Expand description

Shared mdo rendering, temp-output, browser launch, and integration helpers.

Modules§

file_manager

Constants§

SETUP_SAMPLE_FILE_NAME
SETUP_SAMPLE_MARKDOWN

Functions§

convert
convert_with_css_override
convert_with_diagnostics
Full render workflow with optional --verbose timing diagnostics.
derive_output
launch_browser
Launch the platform’s default handler for path (typically a web browser for .html). Non-blocking — the spawned process runs independently.
open_setup_sample
render_markdown_document
Render Markdown supplied in memory as a complete, self-contained HTML page.
temp_output_for
Stable per-source-path location under a private temp/cache dir, e.g. %TEMP%\mdo-<uid>\<hash>\<stem>.html. Re-opening the same source overwrites the same file rather than accumulating new ones.