use mini_markdown::render; #[test] fn commonmark_test_148_html_blocks() { let test_html = render("
\n\n**Hello**,\n\n_world_.\n\n |
\n\n**Hello**,\n\n |
\n hi\n | \n
\n hi\n | \n
okay.
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_150_html_blocks() { let test_html = render(" \n*foo*\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_152_html_blocks() { let test_html = render("Markdown
\nbar
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_156_html_blocks() { let test_html = render("\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_160_html_blocks() { let test_html = render("\nfoo\n |
\nfoo\n |
foo
\nfoo
\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n
\nokay\n");
let reference_html = "\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n
\nokay
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_170_html_blocks() { let test_html = render("\nokay\n"); let reference_html = "\nokay
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_171_html_blocks() { let test_html = render("\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_172_html_blocks() { let test_html = render("\nokay\n"); let reference_html = "\nokay
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_173_html_blocks() { let test_html = render("\n*foo*\n"); let reference_html = "\nfoo
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_177_html_blocks() { let test_html = render("*bar*\n*baz*\n"); let reference_html = "*bar*\nbaz
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_178_html_blocks() { let test_html = render("1. *bar*\n"); let reference_html = "1. *bar*\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_179_html_blocks() { let test_html = render("\nokay\n"); let reference_html = "\nokay
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_180_html_blocks() { let test_html = render("';\n\n?>\nokay\n"); let reference_html = "';\n\n?>\nokay
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_181_html_blocks() { let test_html = render("\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_182_html_blocks() { let test_html = render("\nokay\n"); let reference_html = "\nokay
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_183_html_blocks() { let test_html = render(" \n\n \n"); let reference_html = " \n<!-- foo -->\n
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_184_html_blocks() {
let test_html = render(" <div>\n
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_185_html_blocks() {
let test_html = render("Foo\nFoo
\nFoo\n\nbaz
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_188_html_blocks() { let test_html = render("Emphasized text.
\n\nHi\n | \n\n
\nHi\n | \n
\n Hi\n | \n\n