About article-magazine
A layout template for magazine-style article pages, aimed at page creators presenting long-form text, headings, and quotes. Serif headings, styled code blocks, and section ornaments establish a clear reading hierarchy.
Key features
- 01Large title and optional subtitle
- 02Author, reading time, and date metadata
- 03Centered single-column body
- 04Serif section headings and quote blocks
- 05Code blocks with language labels
- 06Section ornaments and closing action card
Use cases
- 01Creating online magazine article pages
- 02Presenting long-form content with quotes and code
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nexu-io/ html-anything --skill article-magazineAfter installing, type/article-magazinein Claude Code to confirm it loaded.
Bundled filesexample.htmlexample.md
Details
From the project README【模板: 杂志文章】
- 顶部 hero: 大标题 (text-5xl/6xl) + 可选副标题 + 作者 / 阅读时间 / 日期元数据。
- 正文: 单栏, 最大宽度约 700px, 居中。段落
text-lg leading-relaxed text-neutral-700 dark:text-neutral-300。 - H2 / H3 标题用 serif 字体, 让正文与标题有视觉对比。
- 引用块使用左侧粗 accent 色边线 + 斜体。
- 代码块: 圆角 + 深色背景 + 浅色文字, 显示语言标签。
- 列表项使用自定义 bullet(小方块 / accent 圆点)。
- 章节之间用
<hr>分隔, 但样式做成中央居中的小 ornament。 - 文末加一个简单的 "如果觉得有用,欢迎转发" 行动卡片。
Comments
Markdown supported