CommonMarkOnly

Derive Macro CommonMarkOnly 

Source
#[derive(CommonMarkOnly)]
Expand description

Derive macro for automatically implementing MultiFormat trait for types that only support CommonMark This macro is intended for custom nodes that only implement Format and want default HTML fallback behavior.

ยงExample

use cmark_writer_macros::CommonMarkOnly;

#[derive(CommonMarkOnly)]
struct SimpleNote {
    content: String,
}