-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod.rs
33 lines (23 loc) · 1.16 KB
/
mod.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
pub use bold::BoldPreproc as Bold;
pub use italic::ItalicPreproc as Italic;
pub use strike::StrikePreproc as Strike;
pub use spoiler::SpoilerPreproc as Spoiler;
mod bold { crate::preproc::generic::define_opcl!{BoldPreproc ["b"; "bold"] "<b>" / "</b>"} }
mod italic { crate::preproc::generic::define_opcl!{ItalicPreproc ["i"; "italic"] "<i>" / "</i>"} }
mod strike { crate::preproc::generic::define_opcl!{StrikePreproc ["s"; "strike"] "<s>" / "</s>"} }
mod spoiler { crate::preproc::generic::define_opcl!{SpoilerPreproc ["spoiler"] "<span class=\"P-sp\">" / "</span>"} }
pub use sub::SubTextPreproc as SubText;
pub use sup::SupTextPreproc as SupText;
mod sub { crate::preproc::generic::define_opcl!{MULTI SubTextPreproc ["sub"] "<sub>" / "</sub>"} }
mod sup { crate::preproc::generic::define_opcl!{MULTI SupTextPreproc ["sup"] "<sup>" / "</sup>"} }
mod new_line;
pub use new_line::NewLinePreproc;
mod reserved_symbs;
pub use reserved_symbs::ReservedSymbsPreproc;
mod random;
pub use random::RandomPreproc as Random;
pub(in crate::preproc) use random::Mode as RandomMode;
mod quote;
pub use quote::QuotePreproc as QuotePreproc;
mod reply;
pub use reply::ReplyPreproc as ReplyPreproc;