internal/

directory
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: MIT

Directories

Path Synopsis
Package colorutil provides the shared CSS-color helpers mdpress uses to pick legible ink over a configured background.
Package colorutil provides the shared CSS-color helpers mdpress uses to pick legible ink over a configured background.
bookjson.go provides GitBook book.json compatibility for mdPress.
bookjson.go provides GitBook book.json compatibility for mdPress.
Package cover generates and renders book cover pages.
Package cover generates and renders book cover pages.
Package crossref provides cross-reference and auto-numbering functionality.
Package crossref provides cross-reference and auto-numbering functionality.
Package glossary parses glossary definitions and highlights terms in HTML.
Package glossary parses glossary definitions and highlights terms in HTML.
Package i18n provides multi-language book support.
Package i18n provides multi-language book support.
Package katex vendors the KaTeX distribution so formats that must be self-contained can render math without reaching a CDN.
Package katex vendors the KaTeX distribution so formats that must be self-contained can render math without reaching a CDN.
Package linkrewrite handles Markdown link rewriting across different output formats.
Package linkrewrite handles Markdown link rewriting across different output formats.
code_ranges.go finds the lines of a Markdown document that belong to code blocks, so source-level rewrites (variable expansion, math tokenizing) can leave them alone.
code_ranges.go finds the lines of a Markdown document that belong to code blocks, so source-level rewrites (variable expansion, math tokenizing) can leave them alone.
Package mermaid renders Mermaid diagrams to inline SVG at build time.
Package mermaid renders Mermaid diagrams to inline SVG at build time.
epub.go generates EPUB 3 ebooks.
epub.go generates EPUB 3 ebooks.
Package pdf renders HTML documents to PDF using Chromium.
Package pdf renders HTML documents to PDF using Chromium.
Package plantuml provides rendering support for PlantUML diagrams.
Package plantuml provides rendering support for PlantUML diagrams.
Package plugin - external.go implements a plugin backed by an external executable.
Package plugin - external.go implements a plugin backed by an external executable.
anchor_namespace.go makes element ids unique across a whole book.
anchor_namespace.go makes element ids unique across a whole book.
Package server provides the live preview HTTP server.
Package server provides the live preview HTTP server.
github.go implements GitHub repository sources.
github.go implements GitHub repository sources.
Package toc generates and renders tables of contents.
Package toc generates and renders tables of contents.
Package typst provides a Markdown-to-Typst converter and Typst PDF generator.
Package typst provides a Markdown-to-Typst converter and Typst PDF generator.
Package variables expands template variables inside Markdown content.
Package variables expands template variables inside Markdown content.
Package webassets holds the stylesheet and script fragments that mdPress's browser outputs have in common — the multi-page site (internal/output), the single-file HTML and the PDF source document (internal/renderer) — so each is written, and fixed, once.
Package webassets holds the stylesheet and script fragments that mdPress's browser outputs have in common — the multi-page site (internal/output), the single-file HTML and the PDF source document (internal/renderer) — so each is written, and fixed, once.

Jump to

Keyboard shortcuts

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