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", "

Hello

World.

", ); } #[test] fn compact_list() { html_opts!( [render.compact_html], "- one\n- two\n- three\n", "", ); } #[test] fn compact_ordered_list() { html_opts!( [render.compact_html], "1. one\n2. two\n3. three\n", "
  1. one
  2. two
  3. three
", ); } #[test] fn compact_blockquote() { html_opts!( [render.compact_html], "> quoted\n", "

quoted

", ); } #[test] fn compact_code_block() { html_opts!( [render.compact_html], "```\nhello\n```\n", "
hello\n
", ); } #[test] fn compact_thematic_break() { html_opts!([render.compact_html], "---\n", "
",); } #[test] fn compact_table() { html_opts!( [extension.table, render.compact_html], "| a | b |\n|---|---|\n| c | d |\n", "
ab
cd
", ); } #[test] fn compact_default_off() { html_opts!( [render.compact_html = false], "# Hello\n\nWorld.\n", "

Hello

\n

World.

\n", ); }