ulivz / vt

🖼️ A "Post-VuePress Era" Documentation Theme (Deprecation Warning: For a next-gen SSG, please check out Rspress.)
https://vt.insx.dev
MIT License
137 stars 10 forks source link

hightligh problem when use diff #61

Open hardfist opened 2 years ago

hardfist commented 2 years ago
```diff
<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <div id="root"></div>
- <script src="/index-CH27MJVK.js" type="module"></script>
+ <script src="http://www.speedy.dev/index-CH27MJVK.js" type="module"></script>
</body>
</html>
```

when i use diff it generate the following result image

but it renders nicely in github | vscode

<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <div id="root"></div>
- <script src="/index-CH27MJVK.js" type="module"></script>
+ <script src="http://www.speedy.dev/index-CH27MJVK.js" type="module"></script>
</body>
</html>