This is Jingwei Gao's personal website:
- Made with AstroPaper 📄 by Sat Naing and contributors.
- Deployed to GitHub Pages.
- Sidebar for TOB.
- More elegant table layout.
- Add support for math:
- Install
[email protected]
, a plugin to support a math syntax in markdown⚠️ the latest version will raise an exception.
- Install
rehype-katex
, a plugin to render math in HTML with KaTeX. - Modify
astro.config.ts
andsrc/layouts/Layout.astro
.
- Install
- [2023.12.22] Add support for nested posts: demo
- A new item called "hidden" was added to the front matter and set as "true" for inner posts. Hence, these inner posts will not be visible directly and can only be accessed through the link in outer posts.
- [2023.12.25] Add a comment system powered by giscus
- It is not easy to achieve perfect compatibility with the mode switch (light/dark).
- 🐛 Equations in dark mode are now readable: /_ KaTex _/
- All featured posts are displayed together on the index page.
src/config.ts
→recentPostSlot
: #displayed recent posts.- How to restore the About page:
- Remove the comments regarding "about" in
src/components/Header.astro
. - Add file
src/pages/about.md
andsrc/layouts/AboutLayout.astro
.
- Remove the comments regarding "about" in
- Displayed equation:
$$a+b=c$$
doesn't work! Try$$[Enter]a+b=c[Enter]$$
instead!