File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ examples-temp
15
15
node_modules
16
16
pnpm-global
17
17
TODOs.md
18
+ * .timestamp- * .mjs
Original file line number Diff line number Diff line change @@ -206,6 +206,11 @@ export const createMarkdownRenderer = async (
206
206
207
207
md . linkify . set ( { fuzzyLink : false } )
208
208
209
+ // disable entity decode/escape from markdown-it, as the Vue compiler already
210
+ // decodes them.
211
+ md . disable ( 'entity' )
212
+ md . renderer . rules . text = ( tokens , idx ) => tokens [ idx ] . content
213
+
209
214
if ( options . preConfig ) {
210
215
options . preConfig ( md )
211
216
}
@@ -292,10 +297,5 @@ export const createMarkdownRenderer = async (
292
297
options . config ( md )
293
298
}
294
299
295
- // disable entity decode/escape from markdown-it, as the Vue compiler already
296
- // decodes them.
297
- md . disable ( 'entity' )
298
- md . renderer . rules . text = ( tokens , idx ) => tokens [ idx ] . content
299
-
300
300
return md
301
301
}
You can’t perform that action at this time.
0 commit comments