libhanzzok 0.1.5

Hanzzok compiler library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use self::{code_block::CodeBlockConstructorRule, code_inline::CodeDecoratorRule};

use super::Plugin;

mod code_block;
mod code_inline;

#[cfg_attr(target_arch = "wasm32", wasm_bindgen::prelude::wasm_bindgen)]
pub fn code_plugin() -> Plugin {
    Plugin::new()
        .with_block_constructor(CodeBlockConstructorRule)
        .with_decorator(CodeDecoratorRule)
}