Files
snowflake-notes/src/content/posts/hello-world.mdx
T
sjfhsjfh 6cc96a7126 feat: 初始化 Astro 学习博客骨架
- Astro+TS 严格模式(禁止 any、显式返回类型)
- ESLint Flat Config + Prettier 格式化
- 内容集合(posts)与示例文章
- OSS 图床可配置 Img 组件
- 抽离 posts 数据逻辑(更易类型检查)
- getStaticPaths 修正(rest 路由传字符串)
- README/AGENTS 中文文档与约定
- Gitea CI:typecheck + lint
- 忽略 ref/(仅作临时参考)
2025-11-27 17:08:07 +08:00

18 lines
364 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 你好,Astro
description: 内部学习博客的第一篇文章。
pubDate: 2024-11-27
tags: ["简介", "Astro"]
---
欢迎来到新的内部学习博客!这是第一篇文章,使用 MDX 撰写。
可以直接在文中插入 React/JSX 组件或 Astro 组件。
```ts
export function add(a: number, b: number): number {
return a + b;
}
```