Cargo Features

[dependencies]
tpnote-lib = { version = "0.36.3", 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 fast_html2md ^0.0.21, latex2mathml, and pulldown-cmark

pulldown-cmark:

Markdown renderer.

and rst_renderer, syntect, and uo_rst_parser

rst_renderer:

ReStructuredText renderer.

Affects tpnote-lib::highlight

viewer default