feat: add Shiki transformers for better syntax highlighting (#534)

* refactor: organize prose related styles inside nested prose

* feat: add Shiki transformers for better syntax highlighting

* chore: update blog posts using Shiki transformers

Closes #210
This commit is contained in:
Sat Naing
2025-06-13 23:08:18 +07:00
committed by GitHub
parent b07ee5cdcc
commit 76e15b55e3
9 changed files with 121 additions and 85 deletions
+11
View File
@@ -51,6 +51,9 @@ importers:
'@pagefind/default-ui':
specifier: ^1.3.0
version: 1.3.0
'@shikijs/transformers':
specifier: ^3.6.0
version: 3.6.0
'@tailwindcss/typography':
specifier: ^0.5.16
version: 0.5.16(tailwindcss@4.1.8)
@@ -892,6 +895,9 @@ packages:
'@shikijs/themes@3.6.0':
resolution: {integrity: sha512-Fq2j4nWr1DF4drvmhqKq8x5vVQ27VncF8XZMBuHuQMZvUSS3NBgpqfwz/FoGe36+W6PvniZ1yDlg2d4kmYDU6w==}
'@shikijs/transformers@3.6.0':
resolution: {integrity: sha512-PYkU54lYV0RCaUG8n2FNTF+YWiU3uPhcjLGq2x/C8lIrUX9GVnRb3bK+R5xtdFHbuctntATKm7ondp/H/dux9Q==}
'@shikijs/types@3.6.0':
resolution: {integrity: sha512-cLWFiToxYu0aAzJqhXTQsFiJRTFDAGl93IrMSBNaGSzs7ixkLfdG6pH11HipuWFGW5vyx4X47W8HDQ7eSrmBUg==}
@@ -3628,6 +3634,11 @@ snapshots:
dependencies:
'@shikijs/types': 3.6.0
'@shikijs/transformers@3.6.0':
dependencies:
'@shikijs/core': 3.6.0
'@shikijs/types': 3.6.0
'@shikijs/types@3.6.0':
dependencies:
'@shikijs/vscode-textmate': 10.0.2