31 Commits

Author SHA1 Message Date
Saica
ee48c2f09d feat: introduce Expressive Code for code block rendering (#476)
* feat: improve code block feature with Expressive Code

* docs: add example Markdown file for visual review

* feat: improve styles of Expressive Code

* fix: errors from the merging

* chore: formatting

* chore: update config

* chore: update dependencies

* fix: fix build error

* fix: minor fixes

* fix: style tweaks

* docs: update example post

* fix: isolate copy button timeouts to avoid cross-button interference

---------

Co-authored-by: Hasenpfote <Hasenpfote36@gmail.com>
2025-06-03 22:41:36 +08:00
Katsuyuki Karasawa
09d27137f8 364 remove astro compress2 (#424)
Some checks failed
Code quality / quality (push) Failing after 4s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 5s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
* remove astro-compress

* refactor: remove astro-compress integration from configuration
2025-04-28 20:41:47 +09:00
foxton9
e816120045 feat: TOC highlight and scroll sync (#216) 2024-12-06 19:20:57 +08:00
saicaca
079abbc965 refactor: css cleanup and style tweaks 2024-12-02 16:02:39 +08:00
Katsuyuki Karasawa
ff9e82091a refactor: upgrade to Svelte v5 (#212)
* upgrade astro dependencies

* migration to Svelte 5

* Resolution of module version

* fix migrate script error

* fix migrate error comment

* fix Stylus format

* add intellisense for typescript

* Upgrading astrojs/svelte and svelte, and organizing dependencies

* Delete the incorrect settings.

* upgrade astro

* Fixed an error that occurred due to svelte.config.ts using unsupported features.
2024-11-30 14:59:51 +08:00
saicaca
66463dd012 Merge branch 'toc-new'
# Conflicts:
#	astro.config.mjs
#	pnpm-lock.yaml
#	src/components/GlobalStyles.astro
2024-10-26 16:02:43 +08:00
Katsuyuki Karasawa
450ab150a3 fix: fix HMR not working. (#195)
* inline style to base.css

* revert banner style

* Properly revert the banner-related issues.
2024-10-26 15:57:29 +08:00
SlimeNull
b5fddf2096 feat: added TOC (#198) 2024-10-26 00:29:00 +08:00
saicaca
1f93499ece feat: use the first paragraph as the excerpt if description is not set 2024-08-03 16:03:03 +08:00
dabuside
51025f0ea7 feat: add photoswipe for image zoom (#135) 2024-07-28 18:47:19 +08:00
saicaca
f28ad1b8e6 feat: increase height of the banner on the homepage 2024-07-27 15:45:43 +08:00
saicaca
442cb8fe97 chore: ignore errors when CSS files don't need compression 2024-07-26 23:06:55 +08:00
saicaca
8bdad0b2fc feat: add support for GitHub style admonition syntax 2024-06-22 01:31:29 +08:00
saicaca
39797fd677 fix: some fixes for admonition and GitHub repo card 2024-05-03 02:24:01 +08:00
Fabrizio
e1dae88515 feat: add GitHub repo card, admonitions (#77)
* Added remark-directive, unist-util-visit

* Add rehype custom components for Github, Admonitions

* pnpm

* Update pnpm-lock

* Corrected hastscript requierement

* Change ad- prefix so adblocks dont block content
2024-05-03 01:37:31 +08:00
saicaca
410902a767 fix: make base in astro config work 2024-04-29 17:09:52 +08:00
saicaca
9a3119cab4 chore: temporarily suppress dynamic import warning 2024-04-29 15:41:41 +08:00
CorrectRoad
91773fc520 feat: add sitemap.xml (#33)
Co-authored-by: saica.go <zephyird@gmail.com>
2024-04-22 23:48:31 +08:00
saicaca
a80d69d843 feat: use Swug for transition animations instead of ViewTransitions 2024-03-12 14:04:58 +08:00
saicaca
af29b9160f refactor: code cleanup 2024-02-18 18:26:40 +08:00
saicaca
90070d06c1 fix: url /page/1 -> /, /page/2 -> /2 2024-02-18 18:26:40 +08:00
saica.go
79ec8030cc feat: implement post search using Pagefind (#12) 2024-01-24 12:28:16 +08:00
L4Ph
197d524b53 feat: add FrontMatter CMS, biome, translation, etc.
* add Frontmatter CMS

* add biome

* update

* update

* fixed & add docs

* fix translation.ts

* fix translation
2024-01-21 12:54:41 +08:00
saicaca
83e22e7e59 feat: add heading anchor links 2023-11-12 19:35:53 +08:00
saicaca
b0d265b42b fix: site url and base dir should be set in astro.config.mjs 2023-11-08 23:30:42 +08:00
saicaca
35f9260b58 feat: style improvements 2023-11-03 15:59:14 +08:00
saicaca
c642691dc8 feat: add license block 2023-11-03 14:15:17 +08:00
saicaca
a20c647495 fix: missing reading time plugin 2023-10-29 19:33:19 +08:00
EveSunMaple
b4830e03ac feat: remark-math rehype-katex katex (#2)
数学公式渲染
2023-10-29 19:22:19 +08:00
saicaca
ad67a86ef9 fix: minor fixes
(cherry picked from commit c55446003d7457a02467f9808bd24f7325ba91d6)
2023-10-18 02:34:18 +08:00
saicaca
124843848f feat: initial commit
(cherry picked from commit 44c4d7b9521fe449e61edc614446195861932f8c)
2023-10-18 02:15:21 +08:00