@kokiito0926/fmeditor 0.0.0 → 0.0.1
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 +3 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
## fmeditor
|
|
2
2
|
|
|
3
3
|
fmeditorは、フロントマターを編集することができるコマンドラインのツールです。
|
|
4
|
-
|
|
4
|
+
マークダウンを標準入力から受け取り、コマンドライン引数に従って、フロントマターを編集します。
|
|
5
5
|
|
|
6
6
|
## インストール
|
|
7
7
|
|
|
@@ -11,7 +11,8 @@ $ npm install --global @kokiito0926/fmeditor
|
|
|
11
11
|
|
|
12
12
|
## 使用方法
|
|
13
13
|
|
|
14
|
-
curlなどで取得したマークダウンをパイプでfmeditorに流し込みます。
|
|
14
|
+
curlなどで取得したマークダウンをパイプでfmeditorに流し込みます。
|
|
15
|
+
そうすると、コマンドライン引数の値がセットされたフロントマターとともにマークダウンが出力されます。
|
|
15
16
|
|
|
16
17
|
```bash
|
|
17
18
|
$ curl -fsSL https://raw.githubusercontent.com/Kernix13/markdown-cheatsheet/refs/heads/master/frontmatter.md | fmeditor --draft true
|
package/package.json
CHANGED