use mini_markdown::render; #[test] fn commonmark_test_228_block_quotes() { let test_html = render("> # Foo\n> bar\n> baz\n"); let reference_html = "
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_229_block_quotes() { let test_html = render("># Foo\n>bar\n> baz\n"); let reference_html = "Foo
\nbar\nbaz
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_230_block_quotes() { let test_html = render(" > # Foo\n > bar\n > baz\n"); let reference_html = "Foo
\nbar\nbaz
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_231_block_quotes() { let test_html = render(" > # Foo\n > bar\n > baz\n"); let reference_html = "Foo
\nbar\nbaz
\n
> # Foo\n> bar\n> baz\n
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_232_block_quotes() {
let test_html = render("> # Foo\n> bar\nbaz\n");
let reference_html = "\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_233_block_quotes() { let test_html = render("> bar\nbaz\n> foo\n"); let reference_html = "Foo
\nbar\nbaz
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_234_block_quotes() { let test_html = render("> foo\n---\n"); let reference_html = "bar\nbaz\nfoo
\n
\n\nfoo
\n
\n\n\n
\n- foo
\n
\n\n\nfoo\n
bar\n
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_237_block_quotes() {
let test_html = render("> ```\nfoo\n```\n");
let reference_html = "\n\n\n
foo
\n
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_238_block_quotes() {
let test_html = render("> foo\n - bar\n");
let reference_html = "\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_239_block_quotes() { let test_html = render(">\n"); let reference_html = "foo\n- bar
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_240_block_quotes() { let test_html = render(">\n> \n> \n"); let reference_html = "
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_241_block_quotes() { let test_html = render(">\n> foo\n> \n"); let reference_html = "
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_242_block_quotes() { let test_html = render("> foo\n\n> bar\n"); let reference_html = "foo
\n
\n\nfoo
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_243_block_quotes() { let test_html = render("> foo\n> bar\n"); let reference_html = "bar
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_244_block_quotes() { let test_html = render("> foo\n>\n> bar\n"); let reference_html = "foo\nbar
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_245_block_quotes() { let test_html = render("foo\n> bar\n"); let reference_html = "foo
\nbar
\n
foo
\n\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_246_block_quotes() { let test_html = render("> aaa\n***\n> bbb\n"); let reference_html = "bar
\n
\n\naaa
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_247_block_quotes() { let test_html = render("> bar\nbaz\n"); let reference_html = "bbb
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_248_block_quotes() { let test_html = render("> bar\n\nbaz\n"); let reference_html = "bar\nbaz
\n
\n\nbar
\n
baz
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_249_block_quotes() { let test_html = render("> bar\n>\nbaz\n"); let reference_html = "\n\nbar
\n
baz
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_250_block_quotes() { let test_html = render("> > > foo\nbar\n"); let reference_html = "\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_251_block_quotes() { let test_html = render(">>> foo\n> bar\n>>baz\n"); let reference_html = "\n\n\n\nfoo\nbar
\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_252_block_quotes() { let test_html = render("> code\n\n> not code\n"); let reference_html = "\n\n\n\nfoo\nbar\nbaz
\n
\n\n\ncode\n
\n\n"; assert_eq!(test_html, reference_html); }not code
\n