Commit graph

18 commits

Author SHA1 Message Date
adaxiik
2b9e9ff903
fix: missing toc if base url is set (#550)
* fix missing toc if base url is set

* sort imports
2025-07-27 12:13:17 +08:00
foxton9
772f0a9a5e
fix: TOC warning on home page (#402)
- conditionally render TOC for posts route;
- change warn to debug.
2025-04-28 19:48:36 +09:00
Katsuyuki Karasawa
286b050fa8
format all code (#386) 2025-04-08 23:08:31 +09:00
Matas
ac75858fd2
fix: check whether the component is defined already (#337)
Co-authored-by: Matas <automatasz@users.noreply.github.com>
Co-authored-by: Katsuyuki Karasawa <4ranci0ne@gmail.com>
2025-04-05 23:48:47 +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
foxton9
589c593e53
fix: revise TOC logic (#252)
fix bugs in fallback, markVisibleSection; refine rAF and connectedCb
2024-12-31 17:27:40 +08:00
saicaca
cbf17e880d fix: fix incorrect TOC highlight (fix #249) 2024-12-07 21:59:17 +08:00
saicaca
8cd04d9ceb fix: fix TOC highlight appearing on pages without a TOC 2024-12-07 18:42:05 +08:00
saicaca
94184f381b fix: fix TOC highlight for non-ASCII titles (#246) 2024-12-07 04:18:54 +08:00
saicaca
eb3f9f2676 fix: fix incorrect position of TOC indicator 2024-12-06 20:53:24 +08:00
saicaca
9ab977fe4c feat: improve the style of the TOC component 2024-12-06 19:20:58 +08: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
saicaca
e1a98c4149 fix: TOC component overflows the webpage (#209) 2024-10-28 18:44:06 +08:00
saicaca
1b652f686d feat: add configurations for TOC component 2024-10-28 00:45:16 +08:00
saicaca
2b9f6bc5bb feat: UX improvements for the TOC component 2024-10-27 18:18:22 +08:00
saicaca
a336f34ea4 feat: redesign TOC 2024-10-26 15:48:54 +08:00
SlimeNull
b5fddf2096
feat: added TOC (#198) 2024-10-26 00:29:00 +08:00