This repository is used to manage and publish articles on Zenn and Qiita. Primarily, it's a place to share the code I've created and record what I've learned. This serves as a personal archive from which others can also learn. You can find my pages on Zenn here and on Qiita here, respectively. In addition, I use this zenn-qiita-sync to synchronize Qiita articles with Zenn articles.
.github/workflows/
: It contains GitHub Actions workflows.articles/
: It contains Zenn articles written in Markdown format.books/
: It contains Zenn books. The structure should follow the Zenn book guidelines.images/
: It contains images used in articles and books.qiita/
: It contains Qiita articles, which are generated from Zenn articles byztoq.sh
.
Run the development server:
npx zenn preview
- Open http://localhost:8000 with your browser to see the result.
When you want to write a new article:
npx zenn new:article --slug 記事のスラッグ --title タイトル --type idea --emoji ✨
- The above command's options are as follows:
--slug
: The slug of the article. This needs to be a combination ofa-z0-9
,hyphen (-)
, andunderscore (_)
with 12 to 50 characters.--title
: The title of the article.--type
: The type of the article. The options should be chosen fromtech
,idea
.--emoji
: The emoji of the article.