Crate docify_macros

Source

Macros§

compile_markdown
Allows you to use docify::embed!(..) within markdown source files via HTML comments and compiles the result for you (at compile-time).
embed
Embeds the specified item from the specified source file in a rust doc example, with pretty formatting enabled.
embed_run
Exactly like docify::embed!(..) in every way except the generated examples are also run automatically as rust doc examples (ignore is not included).

Attribute Macros§

export
Marks an item for export, making it available for embedding as a rust doc example via docify::embed!(..) or docify::embed_run!(..).
export_content
Like #[docify::export] but only exports the inner contents of whatever item the attribute is attached to.