Skip to content

NaokiHaba/zenn-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenn CLI Content Management

This repository contains articles and books published on Zenn.

🚀 Getting Started

# Install dependencies
npm install zenn-cli

# Create new article
npx zenn new:article

# Create new book
npx zenn new:book

# Preview content at localhost:8000
npx zenn preview

📝 Directory Structure

.
├── articles/
│   └── *.md
├── books/
│   └── */
└── README.md

📘 Article Management

  • Articles are managed as markdown files in the articles directory
  • Each article must include frontmatter configuration:
    ---
    title: ""      # Article title
    emoji: "😸"    # One emoji character for thumbnail
    type: "tech"   # tech/idea
    topics: []     # Up to 5 topics (e.g., ["react", "typescript"])
    published: true # true/false for publishing
    ---

📚 Book Management

  • Books are managed in the books directory
  • Each book requires:
    • config.yaml - Book configuration
    • cover.png - Book cover image (500x700px recommended)
    • Chapter files (*.md)

🔗 Useful Links

📖 License

The content of this repository is licensed under [license name].

About

My Zenn articles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published