Commit Graph

14 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
jump-and-jump
f8afc4f8be fix: Switch page error when fetch fails (#304)
Some checks failed
Code quality / quality (push) Failing after 3s
Build and Check / Astro Check for Node.js 22 (push) Failing after 3s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 3s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
2025-04-16 21:07:48 +09:00
Katsuyuki Karasawa
286b050fa8 format all code (#386) 2025-04-08 23:08:31 +09:00
Katsuyuki Karasawa
b016bd096c fix: biome linter error (#369)
* fix(remark-excerpt): change loop variable to const for better readability

* fix(rehype-component-github-card): correct string quotes for consistency in title element

* fix(remark-directive-rehype): update biome-ignore comment for clarity on linting rule

* fix(rehype-component-admonition): use optional chaining for properties check and improve formatting

* fix(Pagination): improve equality checks and enhance code readability

* fix(TOC): correct equality check for consistency in removeTailingHash function

* fix(ImageWrapper): update import path to use 'node:path' for consistency

* fix(PostCard): update import path to use 'node:path' for consistency
2025-04-01 20:29:38 +09:00
saicaca
e44628364b fix: small bugs with GitHub repo cards (fix #242) 2024-12-07 18:50:19 +08:00
Katsuyuki Karasawa
e9c8930559 refactor: improve type safety (#155)
* Fix to make it type safe.

* The build is failing, fix it.
2024-08-28 00:19:26 +08:00
pawarherschel
856c2bb2c0 fix: fix GitHub repo card not loading with empty description (#154) 2024-08-23 21:03:59 +08:00
saicaca
0ad144add3 fix: fix errors and reformat code 2024-08-03 16:44:38 +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
saicaca
bd4f0e8b63 fix: failed GitHub API requests no longer break the href of repo card & style tweak 2024-07-20 23:25:03 +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
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
124843848f feat: initial commit
(cherry picked from commit 44c4d7b9521fe449e61edc614446195861932f8c)
2023-10-18 02:15:21 +08:00