zhravan/zen-mdx-blog

feat: add support for content warnings/nsfw warning

开放

#12 创建于 2025年10月22日

 (2 条评论) (0 个反应) (1 位负责人)TypeScript (6 个派生)auto 404
enhancementgood first issuehacktoberfesthacktoberfest-acceptedhacktoberfest2025help wanted

仓库指标

星标
 (3 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

add support for content warnings/trigger warnings on sensitive posts with collapsible sections.

Things to take care:

  • Frontmatter flag for warnings
  • Collapsible warning banner
  • Custom warning messages
  • Accessible implementation
  • Warning banner component created

贡献者指南