mirror of
https://github.com/cupcakearmy/markdown-it-import.git
synced 2024-12-22 16:26:27 +00:00
74 lines
1.2 KiB
Plaintext
74 lines
1.2 KiB
Plaintext
// Bun Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`base no imports 1`] = `
|
|
"<h1>Some title</h1>
|
|
<ul>
|
|
<li>Some</li>
|
|
<li>List</li>
|
|
<li>Three</li>
|
|
</ul>
|
|
<blockquote>
|
|
<p>Some note</p>
|
|
</blockquote>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Column A</th>
|
|
<th>Column B</th>
|
|
<th>Column C</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Some</td>
|
|
<td><code>stuff</code></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
"
|
|
`;
|
|
|
|
exports[`base single import 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>
|
|
"
|
|
`;
|
|
|
|
exports[`base multiple imports 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>
|
|
<blockquote>
|
|
<p>This is some amazing quote</p>
|
|
</blockquote>
|
|
"
|
|
`;
|
|
|
|
exports[`base custom lines 1`] = `
|
|
"<h1>Bubble sort in go</h1>
|
|
<pre><code class="language-go">func bubbleSort(arr []int) {
|
|
len := len(arr)
|
|
for i := 0; i < len-1; i++ {
|
|
for j := 0; j < len-i-1; j++ {
|
|
if arr[j] > arr[j+1] {
|
|
arr[j], arr[j+1] = arr[j+1], arr[j]
|
|
}
|
|
}
|
|
}
|
|
fmt.Println("\nAfter Bubble Sorting")
|
|
for _, val := range arr {
|
|
fmt.Println(val)
|
|
}
|
|
}
|
|
</code></pre>
|
|
"
|
|
`;
|