diff options
Diffstat (limited to 'tests/injected')
-rw-r--r-- | tests/injected/block_quote.md | 5 | ||||
-rw-r--r-- | tests/injected/block_quote.md.formatted | 5 | ||||
-rw-r--r-- | tests/injected/combined_injections.md | 14 | ||||
-rw-r--r-- | tests/injected/combined_injections.md.formatted | 14 | ||||
-rw-r--r-- | tests/injected/inline.ts | 5 | ||||
-rw-r--r-- | tests/injected/inline.ts.formatted | 5 | ||||
-rw-r--r-- | tests/injected/simple.md | 5 | ||||
-rw-r--r-- | tests/injected/simple.md.formatted | 5 |
8 files changed, 58 insertions, 0 deletions
diff --git a/tests/injected/block_quote.md b/tests/injected/block_quote.md new file mode 100644 index 0000000..cd56ae8 --- /dev/null +++ b/tests/injected/block_quote.md @@ -0,0 +1,5 @@ +text + +> ```lua +> local foo = 'bar' +> ``` diff --git a/tests/injected/block_quote.md.formatted b/tests/injected/block_quote.md.formatted new file mode 100644 index 0000000..f772801 --- /dev/null +++ b/tests/injected/block_quote.md.formatted @@ -0,0 +1,5 @@ +text + +> ```lua +> |local foo = 'bar'| +> ``` diff --git a/tests/injected/combined_injections.md b/tests/injected/combined_injections.md new file mode 100644 index 0000000..47aeeb4 --- /dev/null +++ b/tests/injected/combined_injections.md @@ -0,0 +1,14 @@ +text + +<!-- comment --> + +```lua +local foo = 'bar' +``` + + +<!-- comment --> + +```lua +local foo = 'bar' +``` diff --git a/tests/injected/combined_injections.md.formatted b/tests/injected/combined_injections.md.formatted new file mode 100644 index 0000000..d7f46a4 --- /dev/null +++ b/tests/injected/combined_injections.md.formatted @@ -0,0 +1,14 @@ +text + +<!-- comment --> + +```lua +|local foo = 'bar'| +``` + + +<!-- comment --> + +```lua +|local foo = 'bar'| +``` diff --git a/tests/injected/inline.ts b/tests/injected/inline.ts new file mode 100644 index 0000000..65e4a43 --- /dev/null +++ b/tests/injected/inline.ts @@ -0,0 +1,5 @@ +foo.innerHTML = `<div> hello </div>`; + +bar.innerHTML = ` +<div> world </div> +`; diff --git a/tests/injected/inline.ts.formatted b/tests/injected/inline.ts.formatted new file mode 100644 index 0000000..c3d6a21 --- /dev/null +++ b/tests/injected/inline.ts.formatted @@ -0,0 +1,5 @@ +foo.innerHTML = `|<div> hello </div>|`; + +bar.innerHTML = ` +|<div> world </div>| +`; diff --git a/tests/injected/simple.md b/tests/injected/simple.md new file mode 100644 index 0000000..5fd4b3a --- /dev/null +++ b/tests/injected/simple.md @@ -0,0 +1,5 @@ +text + +```lua +local foo = 'bar' +``` diff --git a/tests/injected/simple.md.formatted b/tests/injected/simple.md.formatted new file mode 100644 index 0000000..20800b4 --- /dev/null +++ b/tests/injected/simple.md.formatted @@ -0,0 +1,5 @@ +text + +```lua +|local foo = 'bar'| +``` |