Cargo Features

[dependencies]
re_space_view_text_document = { version = "0.15.1", default-features = false, features = ["markdown"] }
default = markdown

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

markdown default

Show text/markdown as Markdown.

Enables egui_commonmark ^0.14

Optional dependencies:

egui_commonmark is a 3rd party crate.
By making it an optional dependency we can easily drop it if we need to,
e.g. if a new version isn't released quickly enough after an egui release.