use super::*; #[test] fn compact_paragraph() { html_opts!( [render.compact_html], "Hello world.\n", "
Hello world.
", ); } #[test] fn compact_multiple_paragraphs() { html_opts!( [render.compact_html], "Paragraph one.\n\nParagraph two.\n", "Paragraph one.
Paragraph two.
", ); } #[test] fn compact_heading() { html_opts!( [render.compact_html], "# Hello\n\nWorld.\n", "World.
", ); } #[test] fn compact_list() { html_opts!( [render.compact_html], "- one\n- two\n- three\n", "", ); } #[test] fn compact_code_block() { html_opts!( [render.compact_html], "```\nhello\n```\n", "quoted
hello\n",
);
}
#[test]
fn compact_thematic_break() {
html_opts!([render.compact_html], "---\n", "| a | b |
|---|---|
| c | d |
World.
\n", ); }