Cargo Features

[dependencies]
mdx-gen = { version = "0.0.1", default-features = false, features = ["syntax_highlighting", "custom_blocks", "enhanced_tables", "yaml_support"] }

-----------------------------------------------------------------------------
Features
-----------------------------------------------------------------------------

default = custom_blocks, enhanced_tables, syntax_highlighting

Default feature set includes syntax highlighting, custom blocks, and enhanced tables.

syntax_highlighting default = syntect

Enable syntax highlighting using syntect

custom_blocks default

Enable custom block processing

enhanced_tables default

Enable enhanced table formatting

yaml_support = serde_yml

Enable YAML support

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

-----------------------------------------------------------------------------
Dependencies
-----------------------------------------------------------------------------

serde_yml yaml_support?
syntect syntax_highlighting