diff --git a/tests/fixtures/fixtures/expected_output_divs_code_and_inline_code.md b/tests/fixtures/fixtures/expected_output_divs_code_and_inline_code.md new file mode 100644 index 0000000..0af06e2 --- /dev/null +++ b/tests/fixtures/fixtures/expected_output_divs_code_and_inline_code.md @@ -0,0 +1,65 @@ +# Heading + +## Details Boxes + +This is some text + +this latent will be preserved: +::: + + + +A trailing block: + + + +Some other text + + +
+ +More content + +
+ +This is nested + +
+ +
+ +A latent block + + +## Code Blocks + +### Hidden + + +### Display + +
+```rust +let t = ""; +for i in 1..s { + t += i; + if i != (s-1) { + t += " + "; + } +} +t +``` +
+``` +1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 +``` +
+
+ +### Inline Code + +The sum of the first 10 numbers is 45 all together that is: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 diff --git a/tests/fixtures/fixtures/input_divs_code_and_inline_code.md b/tests/fixtures/fixtures/input_divs_code_and_inline_code.md new file mode 100644 index 0000000..0d80b21 --- /dev/null +++ b/tests/fixtures/fixtures/input_divs_code_and_inline_code.md @@ -0,0 +1,65 @@ +# Heading + +## Details Boxes + +This is some text + +this latent will be preserved: +::: + +:::alert + +Some content + + + +A trailing block: + +::: + +Some other text + + +:::info + +More content + +:::tip + +This is nested + + + + + +A latent block +::: + +## Code Blocks + +### Hidden + +```{rhai} +let s = 0; +for i in 1..10 { + s += i; +} +``` + +### Display + +```{rhai-display} +let t = ""; +for i in 1..s { + t += i; + if i != (s-1) { + t += " + "; + } +} +t +``` + +### Inline Code + +The sum of the first 10 numbers is λ#(s)# all together that is: λ#(t)# +