chore: add abbrlink

This commit is contained in:
radishzzz 2025-03-13 22:53:31 +00:00
parent f3334d4a45
commit 19d7ba4905
6 changed files with 8 additions and 1 deletions

View file

@ -5,6 +5,7 @@ import { transformerCopyButton } from '@rehype-pretty/transformers'
import compress from 'astro-compress'
import robotsTxt from 'astro-robots-txt'
import { defineConfig } from 'astro/config'
// Rehype plugins
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
import rehypeComponents from 'rehype-components'
@ -12,6 +13,7 @@ import rehypeExternalLinks from 'rehype-external-links'
import rehypeKatex from 'rehype-katex'
import rehypePrettyCode from 'rehype-pretty-code'
import rehypeSlug from 'rehype-slug'
// Remark plugins
import remarkDirective from 'remark-directive'
import remarkGithubAdmonitionsToDirectives from 'remark-github-admonitions-to-directives'
@ -19,6 +21,7 @@ import remarkMath from 'remark-math'
import remarkSectionize from 'remark-sectionize'
import UnoCSS from 'unocss/astro'
import { themeConfig } from './src/config.js'
// Local plugins
import { AdmonitionComponent } from './src/plugins/rehype-component-admonition.js'
import { GithubCardComponent } from './src/plugins/rehype-component-github-card.js'

View file

@ -1,7 +1,7 @@
<button
id="theme-toggle"
aria-label="Theme Toggle Button"
class="uno-button id-theme-toggle w-4.2"
class="id-theme-toggle w-4.2 uno-button"
>
<svg
xmlns="http://www.w3.org/2000/svg"

View file

@ -5,6 +5,7 @@ updated: 2025-03-12
tags: ["Guide"]
pin: 1
lang: en
abbrlink: markdown-style-guide
---
FROM https://github.com/saicaca/fuwari

View file

@ -5,6 +5,7 @@ updated: 2025-03-12
tags: ["指南"]
pin: 1
lang: zh
abbrlink: markdown-style-guide
---
FROM https://github.com/saicaca/fuwari

View file

@ -5,6 +5,7 @@ updated: 2025-03-12
tags: ["Blog Theme","Guide"]
pin: 99
lang: en
abbrlink: theme-guide
---
Retypeset is a static blog theme based on the [Astro](https://astro.build/) framework, inspired by [Typography](https://astro-theme-typography.vercel.app/). Retypeset establishes a new visual standard and reimagines the layout of all pages, offering a reading experience similar to paper books, reviving the beauty of typography. Details in every sight, elegance in every space.

View file

@ -5,6 +5,7 @@ updated: 2025-03-12
tags: ["博客主题","指南"]
pin: 99
lang: zh
abbrlink: theme-guide
---
Retypeset 是一款基于[Astro](https://astro.build/)框架的静态博客主题,设计灵感来自[Typography](https://astro-theme-typography.vercel.app/)。本主题通过建立全新的视觉规范,对所有页面进行重新编排,打造纸质书页般的阅读体验,再现版式之美。所见皆为细节,方寸尽显优雅。