Cargo Features

[dependencies]
tpnote-lib = { version = "0.37.1", default-features = false, features = ["lang-detection", "renderer", "viewer"] }
default = lang-detection, renderer, viewer

These default features are set whenever tpnote-lib is added without default-features = false somewhere in the dependency tree.

lang-detection default

Enables lingua

renderer default

Enables htmd, latex2mathml, and pulldown-cmark

pulldown-cmark:

Markdown renderer.

and rst_parser, rst_renderer, and syntect

rst_parser:

ReStructuredText renderer.

Affects tpnote-lib::highlight

viewer default