mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
feat: enhance typography and image handling
- Add Heti typography plugin for improved Chinese text layout - Implement rehype plugin to convert images to figure elements with captions - Update UnoCSS configuration by removing typography preset - Modify file extensions for consistency (.mjs to .js) - Add new plugins for admonition, GitHub card, and reading time components - Improve image and text styling with Heti CSS
This commit is contained in:
parent
c549814c7e
commit
9d6de20b6a
19 changed files with 1006 additions and 556 deletions
|
@ -2,7 +2,6 @@ import type { Theme } from 'unocss/preset-uno'
|
|||
import {
|
||||
defineConfig,
|
||||
presetAttributify,
|
||||
presetTypography,
|
||||
presetUno,
|
||||
transformerDirectives,
|
||||
transformerVariantGroup,
|
||||
|
@ -16,7 +15,6 @@ export default defineConfig({
|
|||
presets: [
|
||||
presetUno(),
|
||||
presetAttributify(),
|
||||
presetTypography(),
|
||||
presetTheme<Theme>({
|
||||
theme: {
|
||||
dark: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue