Cargo Features

[dependencies]
tui-markdown = { version = "0.2.12", default-features = false, features = ["highlight-code", "document-features"] }
default = highlight-code

The highlight-code feature is set by default whenever tui-markdown is added without default-features = false somewhere in the dependency tree.

highlight-code default

Enable syntax highlighting using syntect and ansi-to-tui

Enables ansi-to-tui ^6.0.0 and syntect

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml