Repository to hold markdown files for articles.
your_short_name/
└── Art_01_short_title/
├── README.md # Main article file
└── assets/
├── _cover.png # Cover image (1500x750 for Medium, 1500x600 for GitHub)
├── diagram.png # Other image assets
├── screenshot.png
└── demo.gif # Must be 320px wide
-
Directory Organization
- Base Path Format:
[your_short_name]/Art_[article no.]_[short_title]
. - Example:
john_doe/Art_01_react_hooks
.
- Base Path Format:
-
Asset Management
- Location: All assets must be in
assets/
subdirectory. - Full Path:
[your_short_name]/Art_[article no.]_[short_title]/assets/
. - Example:
john_doe/Art_01_react_hooks/assets/
.
- Location: All assets must be in
-
Essential Files
- Main Article: Name it
README.md
(ensures automatic rendering on GitHub) - Cover Image: Must be named
_cover.png
and stored in[your_short_name]/Art_[article no.]_[short_title]/assets/_cover.png
.-
Medium size: 1500x750 pixels
-
GitHub size: 1500x600 pixels
-
Cover img embedding:
<img src="assets/_cover.png" width="100%" alt="Description">
-
- Main Article: Name it
-
Asset embeddings:
- GIF Requirements:
-
Must be resized to 320px width
-
Use HTML tags for embedding gifs and other images:
<img src="assets/animation.gif" width="320" alt="Description">
If your markdown linter flags HTML tags, you can:
- Review the issue: markdownlint md033
- Configure exceptions: VS Code markdownlint configuration
-
- GIF Requirements: