use super::*; #[test] fn test_simple_code_block() { test_html_compile!( "```\n", "code\n", "```\n" => "
code
"
);
}
#[test]
fn test_code_block_source()
{
test_html_compile!(
"$$block-attrs(source=source.txt)\n",
"```\n",
"code\n",
"```\n"
=>
"code
", "From source.txt.
" ); } #[test] fn test_simple_inline_code() { test_html_compile!( "Text `code` text" => "Text code
text