Contains macros to generate vimwiki components in Rust at compile time.
It should NOT be imported directly. Instead, when importing vimwiki
, this
crate is brought in when supplying the macros
feature.
Add this to your Cargo.toml
:
toml
[dependencies]
vimwiki = { version = "0.1", features = ["macros"] }
```rust use vimwiki::macros::vimwiki_page;
// Parse vimwiki language at compile-time and generate Rust-based elements let page = vimwiki_page! {r#" = Header =
Some paragraph with bold content and some [[links]].
This project is licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.