// This file is auto-generated by the build script // Please, do not modify it manually use super::test_markdown_html; #[test] fn metadata_blocks_test_1() { let original = r##"--- title: example another_field: 0 --- "##; let expected = r##""##; test_markdown_html(original, expected, false, true, false); } #[test] fn metadata_blocks_test_2() { let original = r##"--- title: example another_field: 0 "##; let expected = r##"
title: example another_field: 0
"##; test_markdown_html(original, expected, false, true, false); } #[test] fn metadata_blocks_test_3() { let original = r##"--- --- "##; let expected = r##"My paragraph here.
"##; test_markdown_html(original, expected, false, true, false); } #[test] fn metadata_blocks_test_7() { let original = r##"--- title: example another_field: 0 --- --- - title: example another_field: 0 --- "##; let expected = r##"title: example another_field: 0 ---a
"##; test_markdown_html(original, expected, false, true, false); } #[test] fn metadata_blocks_test_9() { let original = r##"--- title: example another_field: 0 ... "##; let expected = r##""##; test_markdown_html(original, expected, false, true, false); } #[test] fn metadata_blocks_test_10() { let original = r##"+++ title: example another_field: 0 +++ "##; let expected = r##""##; test_markdown_html(original, expected, false, true, false); } #[test] fn metadata_blocks_test_11() { let original = r##" --- Things --- "##; let expected = r##"---
Things
---
"##;
test_markdown_html(original, expected, false, true, false);
}
#[test]
fn metadata_blocks_test_12() {
let original = r##"---
- Item 1
- Item 2
---
"##;
let expected = r##""##;
test_markdown_html(original, expected, false, true, false);
}