Article Magazine

Creates long-form magazine-style articles with hero sections, serif headings, styled quotes, code blocks, and call-to-action cards, suitable for Substack, Medium, or blogs.

Nexu d0efb1e 3 files · 9.9 KB Updated

File contents

【模板: 杂志文章】

  • 顶部 hero: 大标题 (text-5xl/6xl) + 可选副标题 + 作者 / 阅读时间 / 日期元数据。
  • 正文: 单栏, 最大宽度约 700px, 居中。段落 text-lg leading-relaxed text-neutral-700 dark:text-neutral-300
  • H2 / H3 标题用 serif 字体, 让正文与标题有视觉对比。
  • 引用块使用左侧粗 accent 色边线 + 斜体。
  • 代码块: 圆角 + 深色背景 + 浅色文字, 显示语言标签。
  • 列表项使用自定义 bullet(小方块 / accent 圆点)。
  • 章节之间用 <hr> 分隔, 但样式做成中央居中的小 ornament。
  • 文末加一个简单的 "如果觉得有用,欢迎转发" 行动卡片。

nexu-io/html-anything/tree/main/next/src/lib/templates/skills/article-magazine commit d0efb1eaa3

Frequently asked questions

npx skillmds add nexu-io/article-magazine