Skip to content

Archives where articles and books in Zenn are saved

Notifications You must be signed in to change notification settings

nokotaro/zenn-archive

 
 

Repository files navigation

zenn-archive

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.

Directory Structure

  • .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 by ztoq.sh.

Getting Started

Run the development server:

npx zenn preview

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 of a-z0-9, hyphen (-), and underscore (_) with 12 to 50 characters.
    • --title: The title of the article.
    • --type: The type of the article. The options should be chosen from tech, idea.
    • --emoji: The emoji of the article.

About

Archives where articles and books in Zenn are saved

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published