We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eea607 commit 453f8baCopy full SHA for 453f8ba
config/vite.js
@@ -17,7 +17,21 @@ import { mergeConfig } from 'vite'
17
18
/** @type {import('vite').UserConfig} */
19
export const baseConfig = {
20
- plugins: [icons({ scale: 1 })],
+ plugins: [
21
+ icons({ scale: 1 }),
22
+ {
23
+ enforce: 'pre',
24
+ name: 'sefirot:patch-linkify-it',
25
+ transform(code, id) {
26
+ if (id.includes('markdown-it')) {
27
+ return code.replace(
28
+ 'const text_separators = "[><\uFF5C]"',
29
+ 'const text_separators = "[><\uFF00-\uFFEF]"' // https://www.fileformat.info/info/unicode/block/halfwidth_and_fullwidth_forms/index.htm
30
+ )
31
+ }
32
33
34
+ ],
35
36
resolve: {
37
alias: { 'sefirot/': fileURLToPath(new URL('../lib/', import.meta.url)) },
0 commit comments