mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
chore: add abbrlink
This commit is contained in:
parent
f3334d4a45
commit
19d7ba4905
6 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,7 @@ import { transformerCopyButton } from '@rehype-pretty/transformers'
|
||||||
import compress from 'astro-compress'
|
import compress from 'astro-compress'
|
||||||
import robotsTxt from 'astro-robots-txt'
|
import robotsTxt from 'astro-robots-txt'
|
||||||
import { defineConfig } from 'astro/config'
|
import { defineConfig } from 'astro/config'
|
||||||
|
|
||||||
// Rehype plugins
|
// Rehype plugins
|
||||||
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
|
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
|
||||||
import rehypeComponents from 'rehype-components'
|
import rehypeComponents from 'rehype-components'
|
||||||
|
@ -12,6 +13,7 @@ import rehypeExternalLinks from 'rehype-external-links'
|
||||||
import rehypeKatex from 'rehype-katex'
|
import rehypeKatex from 'rehype-katex'
|
||||||
import rehypePrettyCode from 'rehype-pretty-code'
|
import rehypePrettyCode from 'rehype-pretty-code'
|
||||||
import rehypeSlug from 'rehype-slug'
|
import rehypeSlug from 'rehype-slug'
|
||||||
|
|
||||||
// Remark plugins
|
// Remark plugins
|
||||||
import remarkDirective from 'remark-directive'
|
import remarkDirective from 'remark-directive'
|
||||||
import remarkGithubAdmonitionsToDirectives from 'remark-github-admonitions-to-directives'
|
import remarkGithubAdmonitionsToDirectives from 'remark-github-admonitions-to-directives'
|
||||||
|
@ -19,6 +21,7 @@ import remarkMath from 'remark-math'
|
||||||
import remarkSectionize from 'remark-sectionize'
|
import remarkSectionize from 'remark-sectionize'
|
||||||
import UnoCSS from 'unocss/astro'
|
import UnoCSS from 'unocss/astro'
|
||||||
import { themeConfig } from './src/config.js'
|
import { themeConfig } from './src/config.js'
|
||||||
|
|
||||||
// Local plugins
|
// Local plugins
|
||||||
import { AdmonitionComponent } from './src/plugins/rehype-component-admonition.js'
|
import { AdmonitionComponent } from './src/plugins/rehype-component-admonition.js'
|
||||||
import { GithubCardComponent } from './src/plugins/rehype-component-github-card.js'
|
import { GithubCardComponent } from './src/plugins/rehype-component-github-card.js'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<button
|
<button
|
||||||
id="theme-toggle"
|
id="theme-toggle"
|
||||||
aria-label="Theme Toggle Button"
|
aria-label="Theme Toggle Button"
|
||||||
class="uno-button id-theme-toggle w-4.2"
|
class="id-theme-toggle w-4.2 uno-button"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|
|
@ -5,6 +5,7 @@ updated: 2025-03-12
|
||||||
tags: ["Guide"]
|
tags: ["Guide"]
|
||||||
pin: 1
|
pin: 1
|
||||||
lang: en
|
lang: en
|
||||||
|
abbrlink: markdown-style-guide
|
||||||
---
|
---
|
||||||
|
|
||||||
FROM https://github.com/saicaca/fuwari
|
FROM https://github.com/saicaca/fuwari
|
||||||
|
|
|
@ -5,6 +5,7 @@ updated: 2025-03-12
|
||||||
tags: ["指南"]
|
tags: ["指南"]
|
||||||
pin: 1
|
pin: 1
|
||||||
lang: zh
|
lang: zh
|
||||||
|
abbrlink: markdown-style-guide
|
||||||
---
|
---
|
||||||
|
|
||||||
FROM https://github.com/saicaca/fuwari
|
FROM https://github.com/saicaca/fuwari
|
||||||
|
|
|
@ -5,6 +5,7 @@ updated: 2025-03-12
|
||||||
tags: ["Blog Theme","Guide"]
|
tags: ["Blog Theme","Guide"]
|
||||||
pin: 99
|
pin: 99
|
||||||
lang: en
|
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.
|
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.
|
||||||
|
|
|
@ -5,6 +5,7 @@ updated: 2025-03-12
|
||||||
tags: ["博客主题","指南"]
|
tags: ["博客主题","指南"]
|
||||||
pin: 99
|
pin: 99
|
||||||
lang: zh
|
lang: zh
|
||||||
|
abbrlink: theme-guide
|
||||||
---
|
---
|
||||||
|
|
||||||
Retypeset 是一款基于[Astro](https://astro.build/)框架的静态博客主题,设计灵感来自[Typography](https://astro-theme-typography.vercel.app/)。本主题通过建立全新的视觉规范,对所有页面进行重新编排,打造纸质书页般的阅读体验,再现版式之美。所见皆为细节,方寸尽显优雅。
|
Retypeset 是一款基于[Astro](https://astro.build/)框架的静态博客主题,设计灵感来自[Typography](https://astro-theme-typography.vercel.app/)。本主题通过建立全新的视觉规范,对所有页面进行重新编排,打造纸质书页般的阅读体验,再现版式之美。所见皆为细节,方寸尽显优雅。
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue