7/1/2022
这是我 Astro 博客的第一篇文章。
作者:Astro 学习者
欢迎来到我学习关于 Astro 的新博客!在这里,我将分享我建立新网站的学习历程。
安装 Astro:首先,我创建了一个新的 Astro 项目并设置好了我的在线账号。
制作页面:然后我学习了如何通过创建新的 .astro 文件并将它们保存在 src/pages/ 文件夹里来制作页面。
发表博客文章:这是我的第一篇博客文章!我现在有用 Astro 编写的页面和用 Markdown 写的文章了!
我将完成 Astro 教程,然后继续编写更多内容。关注我以获取更多信息。
import { defineConfig } from 'astro/config';
export default defineConfig({
markdown: {
shikiConfig: {
themes: {
light: 'github-light',
dark: 'github-dark',
},
},
},
});
Pluto is a dwarf planet in the Kuiper belt.
In the 1840s, Urbain Le Verrier used Newtonian mechanics to predict the position of…
The name Pluto is for the Roman god of the underworld, from a Greek epithet for Hades…
Once Pluto was found, its faintness and lack of a viewable disc cast doubt…
Pluto’s orbital period is about 248 years…