Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryoma-yama/zenn-content
https://github.com/ryoma-yama/zenn-content
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryoma-yama/zenn-content
- Owner: ryoma-yama
- Created: 2024-11-12T04:17:37.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-27T07:13:42.000Z (28 days ago)
- Last Synced: 2024-11-27T07:30:32.472Z (28 days ago)
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zenn CLI
* [📘 How to use](https://zenn.dev/zenn/articles/zenn-cli-guide)
## 新しい記事を作成する
```pwsh
pnpm article --slug "$(Get-Date -Format 'yyMMdd')-title-*"
``````sh
pnpm article --slug $(date +%y%m%d)-title-*
```ファイル名およびURLの可読性の向上のため以下を追加:
- `$(date +%y%m%d)`: 年月日各二桁
- [zenn-create](https://github.com/soags/zenn-create/tree/main): Zenn CLI改良版ファイル名の制約: 12-50文字の長さで半角小文字英数字と記号`-`の組み合わせ
## 投稿をプレビューする
```sh
pnpm preview
```