mirror of
https://github.com/cupcakearmy/markdown-it-import.git
synced 2025-09-06 01:40:39 +00:00
trim content by default
This commit is contained in:
@@ -34,7 +34,6 @@ exports[`base single import 1`] = `
|
||||
<pre><code class="language-ts">export function sum(a: number, b: number): number {
|
||||
return a + b
|
||||
}
|
||||
|
||||
</code></pre>
|
||||
"
|
||||
`;
|
||||
@@ -44,7 +43,6 @@ exports[`base multiple imports 1`] = `
|
||||
<pre><code class="language-ts">export function sum(a: number, b: number): number {
|
||||
return a + b
|
||||
}
|
||||
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
<p>This is some amazing quote</p>
|
||||
|
@@ -38,3 +38,13 @@ exports[`options empty options 1`] = `
|
||||
</table>
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`options do not trim 1`] = `
|
||||
"<p>Here is a typescript snippet</p>
|
||||
<pre><code class="language-ts">export function sum(a: number, b: number): number {
|
||||
return a + b
|
||||
}
|
||||
|
||||
</code></pre>
|
||||
"
|
||||
`;
|
||||
|
@@ -9,7 +9,6 @@ exports[`base import different files 1`] = `
|
||||
<pre><code class="language-ts">export function sum(a: number, b: number): number {
|
||||
return a + b
|
||||
}
|
||||
|
||||
</code></pre>
|
||||
"
|
||||
`;
|
||||
|
Reference in New Issue
Block a user