Commit Graph

11 Commits

Author SHA1 Message Date
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