internal/

directory
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT

Directories

Path Synopsis
Package assets embeds the static browser assets (CSS, JS, mermaid, favicon) so mdv ships as a single binary with no runtime network access (spec §8.3).
Package assets embeds the static browser assets (CSS, JS, mermaid, favicon) so mdv ships as a single binary with no runtime network access (spec §8.3).
Package browser opens a URL in the user's default browser.
Package browser opens a URL in the user's default browser.
Package render implements the server-side Markdown rendering pipeline: goldmark parse -> chroma highlight -> alerts -> heading IDs/TOC -> mermaid -> bluemonday sanitize.
Package render implements the server-side Markdown rendering pipeline: goldmark parse -> chroma highlight -> alerts -> heading IDs/TOC -> mermaid -> bluemonday sanitize.
Package server implements the mdv HTTP server: shell HTML, rendered fragments, live-reload SSE, embedded assets and guarded static files.
Package server implements the mdv HTTP server: shell HTML, rendered fragments, live-reload SSE, embedded assets and guarded static files.
Package watch reports changes to a single target file.
Package watch reports changes to a single target file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL