feat: refactor heti css and define basic markdown styles

This commit is contained in:
radishzzz 2025-03-23 18:12:20 +00:00
parent 6e5c1f390e
commit 8810ba6db5
10 changed files with 211 additions and 197 deletions

View file

@ -66,8 +66,10 @@
"astrodotbuild",
"astrojs",
"attributify",
"backref",
"belleza",
"Beze",
"Blockquotes",
"blurhash",
"bmoji",
"canvaskit",

205
pnpm-lock.yaml generated
View file

@ -10,7 +10,7 @@ importers:
dependencies:
'@astrojs/mdx':
specifier: ^4.2.1
version: 4.2.1(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0))
version: 4.2.1(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0))
'@astrojs/partytown':
specifier: ^2.1.4
version: 2.1.4
@ -25,13 +25,13 @@ importers:
version: 3.5.6(typescript@5.8.2)
astro:
specifier: ^5.5.4
version: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
version: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
astro-compress:
specifier: ^2.3.6
version: 2.3.6(@types/node@22.13.11)(jiti@2.4.2)(rollup@4.36.0)(typescript@5.8.2)(yaml@2.7.0)
version: 2.3.6(@types/node@22.13.11)(jiti@2.4.2)(rollup@4.37.0)(typescript@5.8.2)(yaml@2.7.0)
astro-og-canvas:
specifier: ^0.7.0
version: 0.7.0(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0))
version: 0.7.0(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0))
astro-robots-txt:
specifier: ^1.0.0
version: 1.0.0
@ -706,98 +706,103 @@ packages:
rollup:
optional: true
'@rollup/rollup-android-arm-eabi@4.36.0':
resolution: {integrity: sha512-jgrXjjcEwN6XpZXL0HUeOVGfjXhPyxAbbhD0BlXUB+abTOpbPiN5Wb3kOT7yb+uEtATNYF5x5gIfwutmuBA26w==}
'@rollup/rollup-android-arm-eabi@4.37.0':
resolution: {integrity: sha512-l7StVw6WAa8l3vA1ov80jyetOAEo1FtHvZDbzXDO/02Sq/QVvqlHkYoFwDJPIMj0GKiistsBudfx5tGFnwYWDQ==}
cpu: [arm]
os: [android]
'@rollup/rollup-android-arm64@4.36.0':
resolution: {integrity: sha512-NyfuLvdPdNUfUNeYKUwPwKsE5SXa2J6bCt2LdB/N+AxShnkpiczi3tcLJrm5mA+eqpy0HmaIY9F6XCa32N5yzg==}
'@rollup/rollup-android-arm64@4.37.0':
resolution: {integrity: sha512-6U3SlVyMxezt8Y+/iEBcbp945uZjJwjZimu76xoG7tO1av9VO691z8PkhzQ85ith2I8R2RddEPeSfcbyPfD4hA==}
cpu: [arm64]
os: [android]
'@rollup/rollup-darwin-arm64@4.36.0':
resolution: {integrity: sha512-JQ1Jk5G4bGrD4pWJQzWsD8I1n1mgPXq33+/vP4sk8j/z/C2siRuxZtaUA7yMTf71TCZTZl/4e1bfzwUmFb3+rw==}
'@rollup/rollup-darwin-arm64@4.37.0':
resolution: {integrity: sha512-+iTQ5YHuGmPt10NTzEyMPbayiNTcOZDWsbxZYR1ZnmLnZxG17ivrPSWFO9j6GalY0+gV3Jtwrrs12DBscxnlYA==}
cpu: [arm64]
os: [darwin]
'@rollup/rollup-darwin-x64@4.36.0':
resolution: {integrity: sha512-6c6wMZa1lrtiRsbDziCmjE53YbTkxMYhhnWnSW8R/yqsM7a6mSJ3uAVT0t8Y/DGt7gxUWYuFM4bwWk9XCJrFKA==}
'@rollup/rollup-darwin-x64@4.37.0':
resolution: {integrity: sha512-m8W2UbxLDcmRKVjgl5J/k4B8d7qX2EcJve3Sut7YGrQoPtCIQGPH5AMzuFvYRWZi0FVS0zEY4c8uttPfX6bwYQ==}
cpu: [x64]
os: [darwin]
'@rollup/rollup-freebsd-arm64@4.36.0':
resolution: {integrity: sha512-KXVsijKeJXOl8QzXTsA+sHVDsFOmMCdBRgFmBb+mfEb/7geR7+C8ypAml4fquUt14ZyVXaw2o1FWhqAfOvA4sg==}
'@rollup/rollup-freebsd-arm64@4.37.0':
resolution: {integrity: sha512-FOMXGmH15OmtQWEt174v9P1JqqhlgYge/bUjIbiVD1nI1NeJ30HYT9SJlZMqdo1uQFyt9cz748F1BHghWaDnVA==}
cpu: [arm64]
os: [freebsd]
'@rollup/rollup-freebsd-x64@4.36.0':
resolution: {integrity: sha512-dVeWq1ebbvByI+ndz4IJcD4a09RJgRYmLccwlQ8bPd4olz3Y213uf1iwvc7ZaxNn2ab7bjc08PrtBgMu6nb4pQ==}
'@rollup/rollup-freebsd-x64@4.37.0':
resolution: {integrity: sha512-SZMxNttjPKvV14Hjck5t70xS3l63sbVwl98g3FlVVx2YIDmfUIy29jQrsw06ewEYQ8lQSuY9mpAPlmgRD2iSsA==}
cpu: [x64]
os: [freebsd]
'@rollup/rollup-linux-arm-gnueabihf@4.36.0':
resolution: {integrity: sha512-bvXVU42mOVcF4le6XSjscdXjqx8okv4n5vmwgzcmtvFdifQ5U4dXFYaCB87namDRKlUL9ybVtLQ9ztnawaSzvg==}
'@rollup/rollup-linux-arm-gnueabihf@4.37.0':
resolution: {integrity: sha512-hhAALKJPidCwZcj+g+iN+38SIOkhK2a9bqtJR+EtyxrKKSt1ynCBeqrQy31z0oWU6thRZzdx53hVgEbRkuI19w==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm-musleabihf@4.36.0':
resolution: {integrity: sha512-JFIQrDJYrxOnyDQGYkqnNBtjDwTgbasdbUiQvcU8JmGDfValfH1lNpng+4FWlhaVIR4KPkeddYjsVVbmJYvDcg==}
'@rollup/rollup-linux-arm-musleabihf@4.37.0':
resolution: {integrity: sha512-jUb/kmn/Gd8epbHKEqkRAxq5c2EwRt0DqhSGWjPFxLeFvldFdHQs/n8lQ9x85oAeVb6bHcS8irhTJX2FCOd8Ag==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm64-gnu@4.36.0':
resolution: {integrity: sha512-KqjYVh3oM1bj//5X7k79PSCZ6CvaVzb7Qs7VMWS+SlWB5M8p3FqufLP9VNp4CazJ0CsPDLwVD9r3vX7Ci4J56A==}
'@rollup/rollup-linux-arm64-gnu@4.37.0':
resolution: {integrity: sha512-oNrJxcQT9IcbcmKlkF+Yz2tmOxZgG9D9GRq+1OE6XCQwCVwxixYAa38Z8qqPzQvzt1FCfmrHX03E0pWoXm1DqA==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-arm64-musl@4.36.0':
resolution: {integrity: sha512-QiGnhScND+mAAtfHqeT+cB1S9yFnNQ/EwCg5yE3MzoaZZnIV0RV9O5alJAoJKX/sBONVKeZdMfO8QSaWEygMhw==}
'@rollup/rollup-linux-arm64-musl@4.37.0':
resolution: {integrity: sha512-pfxLBMls+28Ey2enpX3JvjEjaJMBX5XlPCZNGxj4kdJyHduPBXtxYeb8alo0a7bqOoWZW2uKynhHxF/MWoHaGQ==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-loongarch64-gnu@4.36.0':
resolution: {integrity: sha512-1ZPyEDWF8phd4FQtTzMh8FQwqzvIjLsl6/84gzUxnMNFBtExBtpL51H67mV9xipuxl1AEAerRBgBwFNpkw8+Lg==}
'@rollup/rollup-linux-loongarch64-gnu@4.37.0':
resolution: {integrity: sha512-yCE0NnutTC/7IGUq/PUHmoeZbIwq3KRh02e9SfFh7Vmc1Z7atuJRYWhRME5fKgT8aS20mwi1RyChA23qSyRGpA==}
cpu: [loong64]
os: [linux]
'@rollup/rollup-linux-powerpc64le-gnu@4.36.0':
resolution: {integrity: sha512-VMPMEIUpPFKpPI9GZMhJrtu8rxnp6mJR3ZzQPykq4xc2GmdHj3Q4cA+7avMyegXy4n1v+Qynr9fR88BmyO74tg==}
'@rollup/rollup-linux-powerpc64le-gnu@4.37.0':
resolution: {integrity: sha512-NxcICptHk06E2Lh3a4Pu+2PEdZ6ahNHuK7o6Np9zcWkrBMuv21j10SQDJW3C9Yf/A/P7cutWoC/DptNLVsZ0VQ==}
cpu: [ppc64]
os: [linux]
'@rollup/rollup-linux-riscv64-gnu@4.36.0':
resolution: {integrity: sha512-ttE6ayb/kHwNRJGYLpuAvB7SMtOeQnVXEIpMtAvx3kepFQeowVED0n1K9nAdraHUPJ5hydEMxBpIR7o4nrm8uA==}
'@rollup/rollup-linux-riscv64-gnu@4.37.0':
resolution: {integrity: sha512-PpWwHMPCVpFZLTfLq7EWJWvrmEuLdGn1GMYcm5MV7PaRgwCEYJAwiN94uBuZev0/J/hFIIJCsYw4nLmXA9J7Pw==}
cpu: [riscv64]
os: [linux]
'@rollup/rollup-linux-s390x-gnu@4.36.0':
resolution: {integrity: sha512-4a5gf2jpS0AIe7uBjxDeUMNcFmaRTbNv7NxI5xOCs4lhzsVyGR/0qBXduPnoWf6dGC365saTiwag8hP1imTgag==}
'@rollup/rollup-linux-riscv64-musl@4.37.0':
resolution: {integrity: sha512-DTNwl6a3CfhGTAOYZ4KtYbdS8b+275LSLqJVJIrPa5/JuIufWWZ/QFvkxp52gpmguN95eujrM68ZG+zVxa8zHA==}
cpu: [riscv64]
os: [linux]
'@rollup/rollup-linux-s390x-gnu@4.37.0':
resolution: {integrity: sha512-hZDDU5fgWvDdHFuExN1gBOhCuzo/8TMpidfOR+1cPZJflcEzXdCy1LjnklQdW8/Et9sryOPJAKAQRw8Jq7Tg+A==}
cpu: [s390x]
os: [linux]
'@rollup/rollup-linux-x64-gnu@4.36.0':
resolution: {integrity: sha512-5KtoW8UWmwFKQ96aQL3LlRXX16IMwyzMq/jSSVIIyAANiE1doaQsx/KRyhAvpHlPjPiSU/AYX/8m+lQ9VToxFQ==}
'@rollup/rollup-linux-x64-gnu@4.37.0':
resolution: {integrity: sha512-pKivGpgJM5g8dwj0ywBwe/HeVAUSuVVJhUTa/URXjxvoyTT/AxsLTAbkHkDHG7qQxLoW2s3apEIl26uUe08LVQ==}
cpu: [x64]
os: [linux]
'@rollup/rollup-linux-x64-musl@4.36.0':
resolution: {integrity: sha512-sycrYZPrv2ag4OCvaN5js+f01eoZ2U+RmT5as8vhxiFz+kxwlHrsxOwKPSA8WyS+Wc6Epid9QeI/IkQ9NkgYyQ==}
'@rollup/rollup-linux-x64-musl@4.37.0':
resolution: {integrity: sha512-E2lPrLKE8sQbY/2bEkVTGDEk4/49UYRVWgj90MY8yPjpnGBQ+Xi1Qnr7b7UIWw1NOggdFQFOLZ8+5CzCiz143w==}
cpu: [x64]
os: [linux]
'@rollup/rollup-win32-arm64-msvc@4.36.0':
resolution: {integrity: sha512-qbqt4N7tokFwwSVlWDsjfoHgviS3n/vZ8LK0h1uLG9TYIRuUTJC88E1xb3LM2iqZ/WTqNQjYrtmtGmrmmawB6A==}
'@rollup/rollup-win32-arm64-msvc@4.37.0':
resolution: {integrity: sha512-Jm7biMazjNzTU4PrQtr7VS8ibeys9Pn29/1bm4ph7CP2kf21950LgN+BaE2mJ1QujnvOc6p54eWWiVvn05SOBg==}
cpu: [arm64]
os: [win32]
'@rollup/rollup-win32-ia32-msvc@4.36.0':
resolution: {integrity: sha512-t+RY0JuRamIocMuQcfwYSOkmdX9dtkr1PbhKW42AMvaDQa+jOdpUYysroTF/nuPpAaQMWp7ye+ndlmmthieJrQ==}
'@rollup/rollup-win32-ia32-msvc@4.37.0':
resolution: {integrity: sha512-e3/1SFm1OjefWICB2Ucstg2dxYDkDTZGDYgwufcbsxTHyqQps1UQf33dFEChBNmeSsTOyrjw2JJq0zbG5GF6RA==}
cpu: [ia32]
os: [win32]
'@rollup/rollup-win32-x64-msvc@4.36.0':
resolution: {integrity: sha512-aRXd7tRZkWLqGbChgcMMDEHjOKudo1kChb1Jt1IfR8cY/KIpgNviLeJy5FUb9IpSuQj8dU2fAYNMPW/hLKOSTw==}
'@rollup/rollup-win32-x64-msvc@4.37.0':
resolution: {integrity: sha512-LWbXUBwn/bcLx2sSsqy7pK5o+Nr+VCoRoAohfJ5C/aBio9nfJmGQqHAhU6pwxV/RmyTk5AqdySma7uwWGlmeuA==}
cpu: [x64]
os: [win32]
@ -1781,8 +1786,8 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
eslint-plugin-jsdoc@50.6.8:
resolution: {integrity: sha512-PPZVqhoXaalMQwDGzcQrJtPSPIPOYsSMtvkjYAdsIazOW20yhYtVX4+jLL+XznD4zYTXyZbPWPRKkNev4D4lyw==}
eslint-plugin-jsdoc@50.6.9:
resolution: {integrity: sha512-7/nHu3FWD4QRG8tCVqcv+BfFtctUtEDWc29oeDXB4bwmDM2/r1ndl14AG/2DUntdqH7qmpvdemJKwb3R97/QEw==}
engines: {node: '>=18'}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
@ -3070,8 +3075,8 @@ packages:
rfdc@1.4.1:
resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}
rollup@4.36.0:
resolution: {integrity: sha512-zwATAXNQxUcd40zgtQG0ZafcRK4g004WtEl7kbuhTWPvf07PsfohXl39jVUvPF7jvNAIkKPQ2XrsDlWuxBd++Q==}
rollup@4.37.0:
resolution: {integrity: sha512-iAtQy/L4QFU+rTJ1YUjXqJOJzuwEghqWzCEYD2FEghT7Gsy1VdABntrO4CLopA5IkflTyqNiLNwPcOJ3S7UKLg==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
@ -3780,7 +3785,7 @@ snapshots:
eslint-plugin-antfu: 3.1.1(eslint@9.23.0(jiti@2.4.2))
eslint-plugin-command: 3.2.0(eslint@9.23.0(jiti@2.4.2))
eslint-plugin-import-x: 4.9.1(eslint@9.23.0(jiti@2.4.2))(typescript@5.8.2)
eslint-plugin-jsdoc: 50.6.8(eslint@9.23.0(jiti@2.4.2))
eslint-plugin-jsdoc: 50.6.9(eslint@9.23.0(jiti@2.4.2))
eslint-plugin-jsonc: 2.19.1(eslint@9.23.0(jiti@2.4.2))
eslint-plugin-n: 17.16.2(eslint@9.23.0(jiti@2.4.2))
eslint-plugin-no-only-tests: 3.3.0
@ -3883,12 +3888,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@astrojs/mdx@4.2.1(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0))':
'@astrojs/mdx@4.2.1(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0))':
dependencies:
'@astrojs/markdown-remark': 6.3.1
'@mdx-js/mdx': 3.1.0(acorn@8.14.1)
acorn: 8.14.1
astro: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
astro: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
es-module-lexer: 1.6.0
estree-util-visit: 2.0.0
hast-util-to-html: 9.0.5
@ -4359,69 +4364,72 @@ snapshots:
dependencies:
dotenv: 16.4.7
'@rollup/pluginutils@5.1.4(rollup@4.36.0)':
'@rollup/pluginutils@5.1.4(rollup@4.37.0)':
dependencies:
'@types/estree': 1.0.6
estree-walker: 2.0.2
picomatch: 4.0.2
optionalDependencies:
rollup: 4.36.0
rollup: 4.37.0
'@rollup/rollup-android-arm-eabi@4.36.0':
'@rollup/rollup-android-arm-eabi@4.37.0':
optional: true
'@rollup/rollup-android-arm64@4.36.0':
'@rollup/rollup-android-arm64@4.37.0':
optional: true
'@rollup/rollup-darwin-arm64@4.36.0':
'@rollup/rollup-darwin-arm64@4.37.0':
optional: true
'@rollup/rollup-darwin-x64@4.36.0':
'@rollup/rollup-darwin-x64@4.37.0':
optional: true
'@rollup/rollup-freebsd-arm64@4.36.0':
'@rollup/rollup-freebsd-arm64@4.37.0':
optional: true
'@rollup/rollup-freebsd-x64@4.36.0':
'@rollup/rollup-freebsd-x64@4.37.0':
optional: true
'@rollup/rollup-linux-arm-gnueabihf@4.36.0':
'@rollup/rollup-linux-arm-gnueabihf@4.37.0':
optional: true
'@rollup/rollup-linux-arm-musleabihf@4.36.0':
'@rollup/rollup-linux-arm-musleabihf@4.37.0':
optional: true
'@rollup/rollup-linux-arm64-gnu@4.36.0':
'@rollup/rollup-linux-arm64-gnu@4.37.0':
optional: true
'@rollup/rollup-linux-arm64-musl@4.36.0':
'@rollup/rollup-linux-arm64-musl@4.37.0':
optional: true
'@rollup/rollup-linux-loongarch64-gnu@4.36.0':
'@rollup/rollup-linux-loongarch64-gnu@4.37.0':
optional: true
'@rollup/rollup-linux-powerpc64le-gnu@4.36.0':
'@rollup/rollup-linux-powerpc64le-gnu@4.37.0':
optional: true
'@rollup/rollup-linux-riscv64-gnu@4.36.0':
'@rollup/rollup-linux-riscv64-gnu@4.37.0':
optional: true
'@rollup/rollup-linux-s390x-gnu@4.36.0':
'@rollup/rollup-linux-riscv64-musl@4.37.0':
optional: true
'@rollup/rollup-linux-x64-gnu@4.36.0':
'@rollup/rollup-linux-s390x-gnu@4.37.0':
optional: true
'@rollup/rollup-linux-x64-musl@4.36.0':
'@rollup/rollup-linux-x64-gnu@4.37.0':
optional: true
'@rollup/rollup-win32-arm64-msvc@4.36.0':
'@rollup/rollup-linux-x64-musl@4.37.0':
optional: true
'@rollup/rollup-win32-ia32-msvc@4.36.0':
'@rollup/rollup-win32-arm64-msvc@4.37.0':
optional: true
'@rollup/rollup-win32-x64-msvc@4.36.0':
'@rollup/rollup-win32-ia32-msvc@4.37.0':
optional: true
'@rollup/rollup-win32-x64-msvc@4.37.0':
optional: true
'@shikijs/core@3.2.1':
@ -5042,12 +5050,12 @@ snapshots:
astring@1.9.0: {}
astro-compress@2.3.6(@types/node@22.13.11)(jiti@2.4.2)(rollup@4.36.0)(typescript@5.8.2)(yaml@2.7.0):
astro-compress@2.3.6(@types/node@22.13.11)(jiti@2.4.2)(rollup@4.37.0)(typescript@5.8.2)(yaml@2.7.0):
dependencies:
'@playform/pipe': 0.1.2
'@types/csso': 5.0.4
'@types/html-minifier-terser': 7.0.2
astro: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
astro: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
commander: 13.0.0
csso: 5.0.5
deepmerge-ts: 7.1.3
@ -5107,9 +5115,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
astro-og-canvas@0.7.0(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)):
astro-og-canvas@0.7.0(astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)):
dependencies:
astro: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
astro: 5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0)
canvaskit-wasm: 0.39.1
deterministic-object-hash: 2.0.2
entities: 4.5.0
@ -5119,14 +5127,14 @@ snapshots:
valid-filename: 4.0.0
zod: 3.24.2
astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.36.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0):
astro@5.5.4(@types/node@22.13.11)(jiti@2.4.2)(lightningcss@1.28.2)(rollup@4.37.0)(terser@5.37.0)(typescript@5.8.2)(yaml@2.7.0):
dependencies:
'@astrojs/compiler': 2.11.0
'@astrojs/internal-helpers': 0.6.1
'@astrojs/markdown-remark': 6.3.1
'@astrojs/telemetry': 3.2.0
'@oslojs/encoding': 1.1.0
'@rollup/pluginutils': 5.1.4(rollup@4.36.0)
'@rollup/pluginutils': 5.1.4(rollup@4.37.0)
acorn: 8.14.1
aria-query: 5.3.2
axobject-query: 4.1.0
@ -5681,7 +5689,7 @@ snapshots:
- supports-color
- typescript
eslint-plugin-jsdoc@50.6.8(eslint@9.23.0(jiti@2.4.2)):
eslint-plugin-jsdoc@50.6.9(eslint@9.23.0(jiti@2.4.2)):
dependencies:
'@es-joy/jsdoccomment': 0.49.0
are-docs-informative: 0.0.2
@ -7476,29 +7484,30 @@ snapshots:
rfdc@1.4.1: {}
rollup@4.36.0:
rollup@4.37.0:
dependencies:
'@types/estree': 1.0.6
optionalDependencies:
'@rollup/rollup-android-arm-eabi': 4.36.0
'@rollup/rollup-android-arm64': 4.36.0
'@rollup/rollup-darwin-arm64': 4.36.0
'@rollup/rollup-darwin-x64': 4.36.0
'@rollup/rollup-freebsd-arm64': 4.36.0
'@rollup/rollup-freebsd-x64': 4.36.0
'@rollup/rollup-linux-arm-gnueabihf': 4.36.0
'@rollup/rollup-linux-arm-musleabihf': 4.36.0
'@rollup/rollup-linux-arm64-gnu': 4.36.0
'@rollup/rollup-linux-arm64-musl': 4.36.0
'@rollup/rollup-linux-loongarch64-gnu': 4.36.0
'@rollup/rollup-linux-powerpc64le-gnu': 4.36.0
'@rollup/rollup-linux-riscv64-gnu': 4.36.0
'@rollup/rollup-linux-s390x-gnu': 4.36.0
'@rollup/rollup-linux-x64-gnu': 4.36.0
'@rollup/rollup-linux-x64-musl': 4.36.0
'@rollup/rollup-win32-arm64-msvc': 4.36.0
'@rollup/rollup-win32-ia32-msvc': 4.36.0
'@rollup/rollup-win32-x64-msvc': 4.36.0
'@rollup/rollup-android-arm-eabi': 4.37.0
'@rollup/rollup-android-arm64': 4.37.0
'@rollup/rollup-darwin-arm64': 4.37.0
'@rollup/rollup-darwin-x64': 4.37.0
'@rollup/rollup-freebsd-arm64': 4.37.0
'@rollup/rollup-freebsd-x64': 4.37.0
'@rollup/rollup-linux-arm-gnueabihf': 4.37.0
'@rollup/rollup-linux-arm-musleabihf': 4.37.0
'@rollup/rollup-linux-arm64-gnu': 4.37.0
'@rollup/rollup-linux-arm64-musl': 4.37.0
'@rollup/rollup-linux-loongarch64-gnu': 4.37.0
'@rollup/rollup-linux-powerpc64le-gnu': 4.37.0
'@rollup/rollup-linux-riscv64-gnu': 4.37.0
'@rollup/rollup-linux-riscv64-musl': 4.37.0
'@rollup/rollup-linux-s390x-gnu': 4.37.0
'@rollup/rollup-linux-x64-gnu': 4.37.0
'@rollup/rollup-linux-x64-musl': 4.37.0
'@rollup/rollup-win32-arm64-msvc': 4.37.0
'@rollup/rollup-win32-ia32-msvc': 4.37.0
'@rollup/rollup-win32-x64-msvc': 4.37.0
fsevents: 2.3.3
rspack-resolver@1.2.2:
@ -7940,7 +7949,7 @@ snapshots:
dependencies:
esbuild: 0.25.1
postcss: 8.5.3
rollup: 4.36.0
rollup: 4.37.0
optionalDependencies:
'@types/node': 22.13.11
fsevents: 2.3.3

View file

@ -42,7 +42,7 @@ Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sap
### Output
![Alt text](./full/or/relative/path/of/image)
![blog placeholder](/blog-placeholder.jpg)
## Blockquotes
@ -53,13 +53,13 @@ The blockquote element represents content that is quoted from another source, op
#### Syntax
```markdown
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.<br>
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **Note** that you can use _Markdown syntax_ within a blockquote.
```
#### Output
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.<br>
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **Note** that you can use _Markdown syntax_ within a blockquote.
### Blockquote with attribution
@ -188,30 +188,51 @@ we can use 3 backticks ``` in new line and write snippet and close with 3 backti
- Milk
- Cheese
## Other Elements — abbr, sub, sup, kbd, mark
## Other Elements
### Syntax
```markdown
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
H<sub>2</sub>O
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format (hover for 2s).
Press <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>Delete</kbd> to end the session.
Students often make some <u title="spelling">speling</u> mistakes (hover for 2s).
There is <del>nothing</del> no code either good or bad, but running it makes it so.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
```
### Output
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
H<sub>2</sub>O
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format (hover for 2s).
Press <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>Delete</kbd> to end the session.
Students often make some <u title="spelling">speling</u> mistakes (hover for 2s).
There is <del>nothing</del> no code either good or bad, but running it makes it so.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
<!-- <details>
<summary>
I have keys but no doors. I have space but no room. You can enter but cant
leave. What am I?
</summary>
A keyboard.
</details>
<figure>
<img src="https://image.radishzz.cc/picsmaller/03.webp">
<figcaption text-center="">Node Modules Inspector - Overview</figcaption>
</figure> -->

View file

@ -5,6 +5,7 @@ tags: ["Lu Xun","Modern Literature"]
lang: en
abbrlink: my-native-heath
---
![Here's the description of the picture](https://image.radishzz.cc/picsmaller/03.webp)
It was bitter cold as I set forth, after an absence of more than twenty years, on a visit to my native heath over two thousand li away.

View file

@ -5,6 +5,7 @@ tags: ["Lu Xun","Literatura Moderna"]
lang: es
abbrlink: my-native-heath
---
![Here's the description of the picture](https://image.radishzz.cc/picsmaller/03.webp)
Hacía un frío glacial cuando, tras una ausencia de más de veinte años, partí para visitar mi páramo natal, a más de dos mil li de distancia.

View file

@ -5,6 +5,7 @@ tags: ["ろじん","きんだいぶんがく"]
lang: ja
abbrlink: my-native-heath
---
![Here's the description of the picture](https://image.radishzz.cc/picsmaller/03.webp)
わたしは厳寒を冒して、二千余里を隔て二十余年も別れていた故郷に帰って来た。時はもう冬の最中で故郷に近づくに従って天気は小闇くなり、身を切るような風が船室に吹き込んでびゅうびゅうと鳴る。苫の隙間から外を見ると、蒼黄いろい空の下にしめやかな荒村があちこちに横たわっていささかの活気もない。わたしはうら悲しき心の動きが抑え切れなくなった。

View file

@ -5,6 +5,7 @@ tags: ["Лу Синь","Современная литература"]
lang: ru
abbrlink: my-native-heath
---
![Here's the description of the picture](https://image.radishzz.cc/picsmaller/03.webp)
Было очень холодно, когда после более чем двадцатилетнего отсутствия я отправился навестить свою родную пустошь, расположенную более чем в двух тысячах ли отсюда.

View file

@ -5,6 +5,7 @@ tags: ["芥川龍之介","近代文學"]
lang: zh-tw
abbrlink: rashomon
---
![Here's the description of the picture](https://image.radishzz.cc/picsmaller/06.webp)
是一日的傍晚的事。有一個家將,在羅生門下待著雨住。

View file

@ -5,6 +5,7 @@ tags: ["芥川龙之介","近代文学"]
lang: zh
abbrlink: rashomon
---
![Here's the description of the picture](https://image.radishzz.cc/picsmaller/06.webp)
是一日的傍晚的事。有一个家将,在罗生门下待著雨住。

View file

@ -4,6 +4,7 @@
* Author: Sivan [sun.sivan@gmail.com]
*/
/* Global Styles */
.heti {
--at-apply: 'leading-1.5em break-words hyphens-auto tracking-0.02em';
}
@ -12,18 +13,18 @@
--at-apply: 'tracking-0';
}
/* 文章标题 */
/* Article Title */
.heti .post-title {
--at-apply: 'c-primary mb-2 font-bold text-9 leading-12 text-balance mbs-0';
}
/* 链接 */
/* Links */
.heti a {
--at-apply: 'underline decoration-secondary/40 underline-0.075em underline-offset-0.2em lg:underline-0.1em';
--at-apply: 'font-medium transition-colors tracking-0 hover:(c-primary decoration-secondary/80) ';
}
/* 段落 */
/* Paragraphs */
.heti p {
--at-apply: 'mt-3 mb-4 text-justify';
}
@ -32,7 +33,7 @@
--at-apply: 'text-start';
}
/* 标题 */
/* Headings */
.heti h1,
.heti h2,
.heti h3,
@ -80,7 +81,7 @@
--at-apply: 'mt-3';
}
/* 引用 */
/* Blockquotes */
.heti blockquote {
--at-apply: 'mt-3 mb-6 px-4 py-3 rounded';
--at-apply: 'border-l-4 border-solid border-secondary/25 bg-secondary/5';
@ -92,7 +93,7 @@
--at-apply: 'my-2';
}
/* 代码块 */
/* Code Blocks */
.heti pre {
--at-apply: 'my-3 px-4 py-3 rounded bg-secondary/5! border border-solid border-secondary/7';
--at-apply: 'overflow-auto whitespace-pre scrollbar-hidden';
@ -104,17 +105,17 @@ html.dark .heti pre span {
--at-apply: 'text-[var(--shiki-dark)]!';
}
/* 代码 */
/* Inline Code */
.heti code {
--at-apply: 'p-0.5 bg-secondary/5 rounded text-0.85em border border-solid border-secondary/7';
}
/* 分割线 */
/* Horizontal Rules */
.heti hr {
--at-apply: 'border-secondary/25';
}
/* 列表 */
/* Lists */
.heti ul,
.heti ol,
.heti dl {
@ -150,16 +151,17 @@ html.dark .heti pre span {
--at-apply: 'list-unset';
}
/* 表格 */
/* Tables */
.heti table {
--at-apply: 'box-border table-fixed mt-3 mb-6 rounded-md border border-solid border-secondary/40 border-collapse break-words';
--at-apply: 'box-border table-fixed mt-3 mb-6 rounded-md break-words';
--at-apply: 'border border-solid border-secondary/25 border-collapse';
}
.heti th,
.heti td {
--at-apply: 'px-3 py-1.5 border border-solid border-secondary/40';
}
/* 缩写 */
/* Abbreviations */
.heti abbr {
--at-apply: 'tracking-0';
}
@ -167,7 +169,7 @@ html.dark .heti pre span {
--at-apply: 'mx-0.25 pb-0.25 border-dotted border-secondary border-b-1 no-underline cursor-help';
}
/* 上标和下标 */
/* Superscript and Subscript */
.heti sub,
.heti sup {
--at-apply: 'mx-0.15em relative text-0.75em leading-1 align-baseline';
@ -191,13 +193,13 @@ html.dark .heti sup a:target {
--at-apply: 'bg-#4d4a00e0';
}
/* 键盘输入文本 */
/* Keyboard Input */
.heti kbd {
--at-apply: 'rounded border border-solid border-secondary/40 text-secondary';
--at-apply: 'inline-block text-0.85em font-bold leading-none px-1 py-0.75 whitespace-nowrap';
}
/* 高亮 */
/* Highlighted Text */
.heti mark {
--at-apply: 'mx-0.25 px-0.25 py-0.5 text-inherit bg-#ff0';
}
@ -205,53 +207,32 @@ html.dark .heti mark {
--at-apply: 'bg-#4d4a00e0';
}
/* 脚注 */
/* Footnotes */
.heti .data-footnote-backref {
--at-apply: 'no-underline';
}
.heti figure {
display: block;
text-align: center;
}
.heti figure > img {
display: block;
margin-inline-start: auto;
margin-inline-end: auto;
}
.heti caption {
caption-side: bottom;
margin-block-start: 2px;
margin-block-end: -4px;
font-size: 14px;
line-height: 24px;
}
/* Bold */
.heti b,
.heti strong {
font-weight: 600;
--at-apply: 'font-semibold';
}
.heti em {
font-weight: 600;
}
.heti figcaption {
display: inline-block;
vertical-align: top;
font-size: 14px;
text-align: start;
}
/* Italic */
.heti i {
font-style: italic;
}
.heti u {
padding-block-end: 1px;
border-block-end: 1px solid;
text-decoration: none;
--at-apply: 'font-italic';
}
/* Emphasized */
.heti em {
--at-apply: 'not-italic font-semibold';
}
.heti em:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
.heti em:not(:lang(zh)) {
--at-apply: 'italic font-normal';
}
/* Quotes */
.heti q {
quotes: "「" "」" "『" "』";
}
@ -260,47 +241,42 @@ html.dark .heti mark {
quotes: initial;
quotes: auto;
}
.heti rt {
font-size: 0.875em;
font-weight: 400;
}
.heti small {
font-size: 0.875em;
}
.heti strong {
font-weight: 600;
}
/* 折叠 */
/* .heti summary {
padding-inline-start: 1em;
outline: 0;
cursor: pointer;
}
.heti summary::-webkit-details-marker {
width: 0.6em;
margin-inline-end: 0.4em;
} */
.heti u[title] {
cursor: help;
border-block-end-width: 3px;
border-block-end-style: double;
border-block-end-color: rgba(0, 0, 0, 0.54);
}
.heti dt,
.heti em {
font-style: normal;
}
.heti dt:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
.heti dt:not(:lang(zh)),
.heti em:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
.heti em:not(:lang(zh)) {
font-style: italic;
}
.heti del,
.heti s,
/* Wavy Underline */
.heti u {
--at-apply: 'mx-0.25 underline decoration-wavy decoration-red underline-offset-4';
}
/* Strikethrough */
.heti del,
.heti s {
--at-apply: 'mx-0.25';
}
/* Images */
.heti figure {
--at-apply: 'my-6';
}
.heti figure > figcaption {
--at-apply: 'text-center text-sm mt-3 text-secondary/75';
}
/* Markdown Extensions Style >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
.heti details {
--at-apply: 'my-4 px-4 py-3 border border-solid border-secondary/25 rounded cursor-pointer';
}
.heti details summary {
--at-apply: 'cursor-pointer';
}
.heti details[open] summary {
--at-apply: 'border-b border-solid border-secondary/25 mb-3 pb-3';
}
/* .heti details summary {
list-style: none;
}
.heti details summary::-webkit-details-marker {
display: none;
}
.heti details summary::marker {
content: '';
} */