@riebeckite/plugin-attachment 0.0.38 → 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 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
@@ -31,7 +37,7 @@ export default defineConfig({
31
37
 
32
38
  The following source is rendered on this page. A plain wikilink becomes a download link, and an embedded wikilink becomes an attachment card.
33
39
 
34
- #### Source
40
+ ### Source
35
41
 
36
42
  ````md
37
43
  [[attachment-example.txt]]
@@ -39,7 +45,7 @@ The following source is rendered on this page. A plain wikilink becomes a downlo
39
45
  ![[attachment-example.txt]]
40
46
  ````
41
47
 
42
- #### Rendered
48
+ ### Rendered
43
49
 
44
50
  [attachment-example.txt](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/attachment-example.txt)
45
51
 
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)` や `![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 プラグインとともに登録します。
@@ -32,7 +38,7 @@ export default defineConfig({
32
38
 
33
39
  以下のソースは、このページ上で実際に描画されます。
34
40
 
35
- #### ソース
41
+ ### ソース
36
42
 
37
43
  ````md
38
44
  [[attachment-example.txt]]
@@ -40,7 +46,7 @@ export default defineConfig({
40
46
  ![[attachment-example.txt]]
41
47
  ````
42
48
 
43
- #### 実行例
49
+ ### 実行例
44
50
 
45
51
  [attachment-example.txt](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/attachment-example.txt)
46
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-attachment",
3
- "version": "0.0.38",
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.38"
18
+ "@riebeckite/core": "0.0.40"
19
19
  },
20
20
  "devDependencies": {
21
21
  "tsx": "^4.22.4"