From 8cf3e3001f2cbd18da73fcc92ae5f4b76d3ecf21 Mon Sep 17 00:00:00 2001
From: Patsagorn Y. <49602385+ptsgrn@users.noreply.github.com>
Date: Thu, 16 Jan 2025 20:44:33 +0000
Subject: [PATCH] feat(i18n): Thai translations (#1722)
---
quartz/plugins/transformers/links.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/quartz/plugins/transformers/links.ts b/quartz/plugins/transformers/links.ts
index 2805818..3e8dbde 100644
--- a/quartz/plugins/transformers/links.ts
+++ b/quartz/plugins/transformers/links.ts
@@ -8,7 +8,6 @@
simplifySlug,
splitAnchor,
transformLink,
- joinSegments,
} from "../../util/path"
import path from "path"
import { visit } from "unist-util-visit"
@@ -33,7 +32,7 @@
externalLinkIcon: true,
}
-export const CrawlLinks: QuartzTransformerPlugin<Partial<Options> | undefined> = (userOpts) => {
+export const CrawlLinks: QuartzTransformerPlugin<Partial<Options>> = (userOpts) => {
const opts = { ...defaultOptions, ...userOpts }
return {
name: "LinkProcessing",
@@ -66,7 +65,9 @@
type: "element",
tagName: "svg",
properties: {
+ "aria-hidden": "true",
class: "external-icon",
+ style: "max-width:0.8em;max-height:0.8em",
viewBox: "0 0 512 512",
},
children: [
--
Gitblit v1.10.0