vitepress-linkcard 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/dist/.cjs.min.js +1 -1
- package/dist/.esm.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
<h1 align="center">
|
|
1
|
+
<h1 align="center">
|
|
2
2
|
vitepress-linkcard
|
|
3
3
|
</h1>
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**A Vitepress plugin to generate a pretty linkcard with OGP.**
|
|
8
|
+
|
|
9
|
+
Slightly more readable README created with this plugin is [here](https://asumoranda.com/posts/10-vitepress-linkcard.html).
|
|
8
10
|
|
|
9
11
|
[](https://www.npmjs.com/package/vitepress-linkcard)
|
|
10
12
|
[](https://www.npmjs.com/package/vitepress-linkcard)
|
|
@@ -19,13 +21,13 @@ vitepress-linkcard
|
|
|
19
21
|
|
|
20
22
|
<p align="center">
|
|
21
23
|
<a href="https://github.com/asumo-1xts/vitepress-linkcard/blob/main/image/screen.webp?raw=true">
|
|
22
|
-
<img
|
|
24
|
+
<img src="https://github.com/asumo-1xts/vitepress-linkcard/blob/main/.config/screen.webp?raw=true" alt="How it shows"/>
|
|
23
25
|
</a>
|
|
24
26
|
</p>
|
|
25
27
|
|
|
26
28
|
<div align="center">
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
This plugin was forked from [markdown-it-link-to-card](https://github.com/luckrya/markdown-it-link-to-card).
|
|
29
31
|
|
|
30
32
|
</div>
|
|
31
33
|
|
|
@@ -110,8 +112,8 @@ You can edit it as needed, but ignoring it will increase build time.
|
|
|
110
112
|
### Special handling for `github.com`
|
|
111
113
|
|
|
112
114
|
When the domain is `github.com`, trimming is performed as shown in the following example to avoid duplication of the title and description.
|
|
115
|
+
|
|
113
116
|
| | Title | Description |
|
|
114
117
|
| - | - | - |
|
|
115
118
|
| Before | GitHub - asumo-1xts/vitepress-linkcard: A VitePress plugin to generate a pretty linkcard. | A VitePress plugin to generate a pretty linkcard. Contribute to asumo-1xts/vitepress-linkcard development by creating an account on GitHub. |
|
|
116
119
|
| After | asumo-1xts/vitepress-linkcard | A VitePress plugin to generate a pretty linkcard. |
|
|
117
|
-
|
package/dist/.cjs.min.js
CHANGED
package/dist/.esm.min.js
CHANGED
package/package.json
CHANGED