Commit graph

47 commits

Author SHA1 Message Date
Katsuyuki Karasawa
9130765d45
Biome 2.0 with format (#510)
* execute migrate command

* migrate to v2

* update config

* supress linter error
2025-06-18 23:01:28 +09:00
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
7f0c109b17
fix: Correct template literals for aria-label/class/style attributes (#435)
* fix: Correct template literals for aria-label attributes in PostMeta and Pagination components

* fix: Update template literals to use correct syntax in multiple components
2025-05-02 06:49:07 +09:00
Carlos Company
9a21c0e9e1
Merge pull request #309 from CarlosCB1986/patch-4
Fixing License component layout overflow in small screens
2025-04-09 21:24:45 +09:00
Katsuyuki Karasawa
286b050fa8
format all code (#386) 2025-04-08 23:08:31 +09:00
Katsuyuki Karasawa
7ea2f7f40f
refactor: remove unused props from components and improve error handling in about page (#385) 2025-04-08 22:44:52 +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
jump-and-jump
fdbd0c56bf refactor: remove useless code 2025-01-25 22:55:38 +08:00
saicaca
079abbc965 refactor: css cleanup and style tweaks 2024-12-02 16:02:39 +08:00
saicaca
947ff49b53 fix: force override post width 2024-10-26 15:57:30 +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
saicaca
8beeba81db feat: more readable error message for image not found 2024-09-20 01:18:33 +08:00
saicaca
0ad144add3 fix: fix errors and reformat code 2024-08-03 16:44:38 +08:00
saicaca
f96cf6fdae feat: some improvements for image zooming 2024-07-28 18:48:44 +08:00
saicaca
96223c0b5a refactor: improve code quality 2024-07-21 18:41:03 +08:00
saicaca
003c644146 refactor: improve code quality 2024-07-21 15:49:22 +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
960e85f92d fix: extra empty lines in codeblocks still displayed in some cases 2024-06-22 00:49:30 +08:00
saicaca
b70a01a43a fix: style tweaks for copy-code button 2024-06-21 22:37:39 +08:00
Kuroki_Tsuki
88a7414625 feat: copy button for code blocks (#67)
* Add  code copy

* fix: safari copyButton style

* fix: addPreCopyButton up time

* modify: CopyButton style

* fix: Duplicate rendering issue with copy button
2024-06-21 22:27:23 +08:00
saicaca
5cfc78ef65 fix: hide the extra empty line in code blocks 2024-06-21 19:29:54 +08:00
Lry722
5868cddcb6
feat: add option position for banner image (#106) 2024-06-10 02:03:57 +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
e64bd923da fix: a11y fixes 2024-03-12 12:37:49 +08:00
saicaca
d68f26a74f fix: minor fixes 2024-02-18 18:26:40 +08:00
saicaca
af29b9160f refactor: code cleanup 2024-02-18 18:26:40 +08:00
saicaca
8b8a765d56 feat: add line numbers for code blocks 2024-01-25 16:09:00 +08:00
saica.go
79ec8030cc
feat: implement post search using Pagefind (#12) 2024-01-24 12:28:16 +08:00
saicaca
4316654a98 fix: fix custom code font doesn't work 2024-01-22 11:35:54 +08:00
saicaca
e428b1d5a5 feat: mobile style improvements 2024-01-22 11:25:56 +08:00
saicaca
3fcb566a54 feat: use relative paths for cover images 2024-01-21 16:34:37 +08:00
saicaca
8848a25ec5 fix: make heading anchors # unselectable 2023-11-23 23:26:05 +08:00
saicaca
4831f9f67f fix: some style fixes for the license block 2023-11-12 19:37:56 +08:00
saicaca
83e22e7e59 feat: add heading anchor links 2023-11-12 19:35:53 +08:00
saicaca
cff918dab3 fix: add JetBrains Mono as default code font 2023-11-10 18:25:18 +08:00
EveSunMaple
8d2d2de9b8
fix: update code font (#4) 2023-11-10 18:09:32 +08:00
saicaca
239c546d5f fix: fix build fail 2023-11-09 12:01:32 +08:00
saicaca
3798fd6b64 fix: style improvements 2023-11-08 10:46:27 +08:00
saicaca
ab89683cd7 fix: markdown style for the About page 2023-11-03 16:22:33 +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
e30f20e86a fix: temporary solution for images dynamic import 2023-10-23 19:20:47 +08:00
saicaca
1ae4a8eee9 feat: use .ts instead of .yaml for configurations 2023-10-23 17:54:39 +08:00
saicaca
471c4020d5 feat: minor style fixes
(cherry picked from commit d09df23d1c42539bf1102600aca2d8f1713142d4)
2023-10-18 02:15:31 +08:00
saicaca
124843848f feat: initial commit
(cherry picked from commit 44c4d7b9521fe449e61edc614446195861932f8c)
2023-10-18 02:15:21 +08:00