代码示例与排版
代码
export function formatDate(date) {
return new Intl.DateTimeFormat('zh-CN', {
year: 'numeric',
month: 'short',
day: 'numeric',
}).format(date);
}
pnpm build
pnpm preview
引用
约束带来一致性。样式只从 token 来,fork 换肤只改 accent。
列表
- 写 Markdown
pnpm build- 上传
dist/
- 无服务端
- 无数据库
- 无跟踪脚本
行内代码:--color-accent。