1pub use hmd_core as core;
8pub use hmd_format as format;
9pub use hmd_import_html as import_html;
10pub use hmd_parse as parse;
11pub use hmd_patch as patch;
12pub use hmd_profile_decision as profile_decision;
13pub use hmd_profile_general as profile_general;
14pub use hmd_profile_progress as profile_progress;
15pub use hmd_profile_todo as profile_todo;
16pub use hmd_render_html as render_html;
17
18#[cfg(test)]
19mod tests {
20 #[test]
21 fn exposes_parser_and_renderer_facades() {
22 let source = include_str!("../../../fixtures/valid/todo-basic.hmd");
23 let document = crate::parse::parse_document(source);
24 let html = crate::render_html::render_document(
25 &document,
26 crate::render_html::RenderOptions::default(),
27 );
28
29 assert!(html.contains("<!doctype html>"));
30 }
31}