We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
\<
1 parent 58de272 commit 3ffa721Copy full SHA for 3ffa721
packages/vue-typescript/src/plugins/file-md.ts
@@ -129,7 +129,7 @@ export default function (): VueLanguagePlugin {
129
// inline code block
130
.replace(/\`([\s\S]*?)\`/g, match => `\`${' '.repeat(match.length - 2)}\``)
131
// # \<script setup>
132
- .replace(/\\\<([\s\S]*?)\n/g, match => ' '.repeat(match.length))
+ .replace(/\\\<([\s\S]*?)\n?/g, match => ' '.repeat(match.length))
133
// markdown line
134
.replace(/\[([\s\S]*?)\]\(([\s\S]*?)\)/g, match => ' '.repeat(match.length)),
135
{
0 commit comments