Skip to main content

Crate mdcat

Crate mdcat 

Source
Expand description

Command line application to render markdown to TTYs.

Note that as of version 2.0.0 mdcat itself no longer contains the core rendering functions. Use pulldown_cmark_mdcat instead.

Modules§

args
Argument parsing for mdcat.
config
User configuration file. User configuration, loaded from ~/.config/mdcat/config.toml.
output
Output handling for mdcat.
resources
Resource handling for mdca.
toc
Table of contents generation. Build a table of contents from a Markdown document’s headings.

Structs§

RenderOptions
Render-time options for process_file, bundling the flags that control how the document is transformed before and during rendering.

Statics§

DEFAULT_RESOURCE_READ_LIMIT
Default read size limit for resources.

Functions§

create_resource_handler
Create the resource handler for mdcat.
process_file
Process a single file.
read_input
Read input for filename.