@riebeckite/plugin-attachment 0.0.39 → 0.0.40
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 +6 -0
- package/README_ja.md +6 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,6 +14,12 @@ non-image file (`[report.pdf](https://github.com/Rerurate514/riebeckite/blob/mai
|
|
|
14
14
|
|
|
15
15
|
Without this plugin, those wikilinks fall back to a plain download link.
|
|
16
16
|
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
npm install @riebeckite/plugin-attachment
|
|
21
|
+
```
|
|
22
|
+
|
|
17
23
|
## Usage
|
|
18
24
|
|
|
19
25
|
```ts
|
package/README_ja.md
CHANGED
|
@@ -10,6 +10,12 @@ Obsidian 形式の添付ファイルリンクを、ダウンロードリンク
|
|
|
10
10
|
|
|
11
11
|
`[report.pdf](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/report.pdf.ja.md)` や `` のような画像以外のウィキリンクを扱います。`@riebeckite/plugin-obsidian-markdown` がリンク先を添付ファイルとして解決したとき、このプラグインが表示を引き受けます。プラグインを登録しない場合も通常のダウンロードリンクにはなりますが、埋め込み用のカードは作られません。
|
|
12
12
|
|
|
13
|
+
## インストール
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install @riebeckite/plugin-attachment
|
|
17
|
+
```
|
|
18
|
+
|
|
13
19
|
## 設定
|
|
14
20
|
|
|
15
21
|
Obsidian Markdown プラグインとともに登録します。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-attachment",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"./style.css": "./style.css"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@riebeckite/core": "0.0.
|
|
18
|
+
"@riebeckite/core": "0.0.40"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"tsx": "^4.22.4"
|