Crate ftml[][src]

A library to parse Wikidot text and produce an abstract syntax tree (AST).

This library aims to be a replacement of Wikidot's Text_Wiki parser, which is presently a loose group of regular expressions (with irregular Perl extensions). The aim is to provide an AST while also maintaining the flexibility and lax parsing that Wikidot permits.

Re-exports

pub use self::includes::include;
pub use self::parsing::parse;
pub use self::tokenizer::tokenize;
pub use self::tokenizer::Tokenization;

Modules

data
includes
parsing
prelude
render
tokenizer
tree

Functions

preprocess

Run the preprocessor on the given wikitext, which is modified in-place.