Cargo Features
[dependencies]
tui-markdown = { version = "0.3.0", default-features = false, features = ["highlight-code", "document-features"] }
- default = highlight-code
-
The
highlight-code
feature is set by default whenevertui-markdown
is added without
somewhere in the dependency tree.default-features = false - highlight-code default
-
Enable syntax highlighting using syntect and ansi-to-tui
Enables ansi-to-tui 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