acdc-parser-0.1.0 has been yanked.
AsciiDoc parser.
This module provides a parser for the AsciiDoc markup language. The parser is
implemented using the peg parser generator.
Quick Start
The parser is implemented as a struct that implements the Parser trait. The
trait provides two methods for parsing AsciiDoc content:
parse: parses a string containingAsciiDoccontent.parse_file: parses the content of a file containingAsciiDoccontent.
use ;
let content = r#"= Document Title
This is a paragraph.
== Section Title
This is a subsection."#;
let options = default;
let document = parse.unwrap;
println!;