@riebeckite/plugin-article-metadata 0.0.39 → 0.0.41
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 +17 -0
- package/README_ja.md +17 -0
- package/package.json +4 -4
- package/style.css +2 -1
package/README.md
CHANGED
|
@@ -11,6 +11,23 @@ article context.
|
|
|
11
11
|
|
|
12
12
|
The line under this page's title — publication date and reading time — is rendered here. The `<time>` element carries the machine-readable date. Tags appear as well when the note has any.
|
|
13
13
|
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
npm install @riebeckite/plugin-article-metadata
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
import { defineConfig } from "@riebeckite/core";
|
|
24
|
+
import { articleMetadata } from "@riebeckite/plugin-article-metadata";
|
|
25
|
+
|
|
26
|
+
export default defineConfig({
|
|
27
|
+
plugins: [articleMetadata()],
|
|
28
|
+
});
|
|
29
|
+
```
|
|
30
|
+
|
|
14
31
|
## Overview
|
|
15
32
|
|
|
16
33
|
`articleMetadata()` registers the component stylesheet. It does not add
|
package/README_ja.md
CHANGED
|
@@ -26,6 +26,23 @@ import ArticleMetadata from "@riebeckite/plugin-article-metadata/components";
|
|
|
26
26
|
|
|
27
27
|
タグのリンクはタクソノミープラグインの解決済み設定を使うため、独自の `tagsBasePath` にも追随します。タグページが無効な場合はタグをテキストで表示します。サイトコンテキストがない場合もテキスト表示です。
|
|
28
28
|
|
|
29
|
+
## インストール
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npm install @riebeckite/plugin-article-metadata
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## 使い方
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
import { defineConfig } from "@riebeckite/core";
|
|
39
|
+
import { articleMetadata } from "@riebeckite/plugin-article-metadata";
|
|
40
|
+
|
|
41
|
+
export default defineConfig({
|
|
42
|
+
plugins: [articleMetadata()],
|
|
43
|
+
});
|
|
44
|
+
```
|
|
45
|
+
|
|
29
46
|
## オプション
|
|
30
47
|
|
|
31
48
|
| Prop | 既定値 | 説明 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-article-metadata",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"./style.css": "./style.css"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@riebeckite/core": "0.0.
|
|
25
|
-
"@riebeckite/plugin-taxonomy": "0.0.
|
|
26
|
-
"@riebeckite/ui": "0.0.
|
|
24
|
+
"@riebeckite/core": "0.0.41",
|
|
25
|
+
"@riebeckite/plugin-taxonomy": "0.0.41",
|
|
26
|
+
"@riebeckite/ui": "0.0.41",
|
|
27
27
|
"hono": "^4.12.25"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
package/style.css
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
gap: 0.75rem 1rem;
|
|
7
7
|
margin: 0.75rem 0 1.5rem;
|
|
8
8
|
padding-block: 0.75rem;
|
|
9
|
-
border-block: 1px solid
|
|
9
|
+
border-block-end: 1px solid
|
|
10
|
+
color-mix(in srgb, currentColor 16%, transparent);
|
|
10
11
|
font-size: 0.875rem;
|
|
11
12
|
line-height: 1.4;
|
|
12
13
|
}
|