libhanzzok/core/plugin/math/mod.rs
1use self::{math_block::MathBlockConstructorRule, math_inline::MathDecoratorRule};
2
3use super::Plugin;
4
5mod math_block;
6mod math_inline;
7
8#[cfg_attr(target_arch = "wasm32", wasm_bindgen::prelude::wasm_bindgen)]
9pub fn math_plugin() -> Plugin {
10 Plugin::new()
11 .with_block_constructor(MathBlockConstructorRule)
12 .with_decorator(MathDecoratorRule)
13}