Thank you for using my carefully crafted Anki template! If you like my
- template, consider supporting me{' '}
- here ❤️.
+ template, consider sponsoring me
+
+
+
You can find all the templates I've created{' '}
- here.
+ here.
@@ -34,7 +41,7 @@ export const ZhAbout = () => (
这里 支持我 ❤️
- 您可以在 这里{' '}
+ 您可以在 这里{' '}
找到我创建的所有模板
diff --git a/src/global.css b/src/global.css
index 9e4f9b5..ff8ad18 100644
--- a/src/global.css
+++ b/src/global.css
@@ -24,11 +24,13 @@ body {
}
.prose > :first-child,
-.rm-prose-y > :first-child {
+.rm-prose-y > :first-child,
+div[id^='at-field'] > :first-child {
@apply !mt-0;
}
.prose > :last-child,
-.rm-prose-y > :last-child {
+.rm-prose-y > :last-child,
+div[id^='at-field'] > :last-child {
@apply !mb-0;
}
diff --git a/translations/en.json b/translations/en.json
index a786397..84f08fe 100644
--- a/translations/en.json
+++ b/translations/en.json
@@ -52,5 +52,5 @@
"toolHelp": "
Each tool requires a URL to be set. For example, Google Search:
https://www.google.com/search?q={q}
When you select text and click the corresponding tool, the {q}
in the link will be replaced with the selected text, and the browser will automatically navigate to the updated link.
Prefix text and suffix text refer to adding text before and after the selected text, which is then used as {q}
for replacement.
",
"optionsHint": "If the settings are lost after reopening Anki, or if you want the following settings to sync across devices, please go to ",
"optionsPage": "Options Configuration",
- "optionsHelp": "The following content can be selected and copied. For detailed steps, please refer to
here"
+ "optionsHelp": "The following content can be selected and copied. For detailed steps, please refer to
here"
}
diff --git a/translations/ja.json b/translations/ja.json
index f3fdf5d..3a97cd8 100644
--- a/translations/ja.json
+++ b/translations/ja.json
@@ -52,5 +52,5 @@
"toolHelp": "
各ツールにはURLを設定する必要があります。例えば、Google検索の場合:
https://www.google.com/search?q={q}
テキストを選択した後、対応するツールをクリックすると、リンク内の {q}
が選択したテキストに置き換えられ、置き換え後のリンクに自動的にジャンプします。
前置テキストと後置テキストは、選択したテキストの前後に対応するテキストを追加し、それを {q}
として置き換えを実行するものです。
",
"optionsHint": "Ankiを再起動した後に以前の設定が失われたり、デバイス間で設定を同期したい場合は、以下の設定ページに進んでください",
"optionsPage": "オプション設定",
- "optionsHelp": "以下の内容を選択してコピーできます。詳細手順は
こちら をご覧ください。"
+ "optionsHelp": "以下の内容を選択してコピーできます。詳細手順は
こちら をご覧ください。"
}
diff --git a/translations/zh.json b/translations/zh.json
index ec4ef07..dfd0b41 100644
--- a/translations/zh.json
+++ b/translations/zh.json
@@ -52,5 +52,5 @@
"toolHelp": "
每一个工具都需要设置 url。以谷歌搜索为例
https://www.google.com/search?q={q}
在选中文本后点击对应的工具时,链接中的 {q}
将会被替换为您选择的文本,然后将自动跳转到替换后的链接。
前置文本和后置文本是指在选中的文本前后添加对应的文本,然后作为 {q}
来执行替换。
",
"optionsHint": "如果在重新打开Anki之后丢失了以前的设置,或者希望以下设置在设备之间同步,请前往",
"optionsPage": "选项配置",
- "optionsHelp": "以下内容可以选中复制,详细步骤请查看
这里"
+ "optionsHelp": "以下内容可以选中复制,详细步骤请查看
这里"
}
diff --git a/tsconfig.app.json b/tsconfig.app.json
new file mode 100644
index 0000000..e3578ef
--- /dev/null
+++ b/tsconfig.app.json
@@ -0,0 +1,11 @@
+{
+ "extends": ["@tsconfig/vite-react"],
+ "compilerOptions": {
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
+ "paths": {
+ "@/*": ["./src/*"]
+ },
+ "allowSyntheticDefaultImports": true
+ },
+ "include": ["src", "playground/src"]
+}
diff --git a/tsconfig.json b/tsconfig.json
index 922de23..1ffef60 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,9 +1,7 @@
{
- "extends": ["@tsconfig/node23", "@tsconfig/vite-react"],
- "compilerOptions": {
- "paths": {
- "@/*": ["./src/*"]
- },
- "allowSyntheticDefaultImports": true
- }
+ "files": [],
+ "references": [
+ { "path": "./tsconfig.app.json" },
+ { "path": "./tsconfig.node.json" }
+ ]
}
diff --git a/tsconfig.node.json b/tsconfig.node.json
new file mode 100644
index 0000000..4bab343
--- /dev/null
+++ b/tsconfig.node.json
@@ -0,0 +1,22 @@
+{
+ "extends": ["@tsconfig/node23"],
+ "include": [
+ "build",
+ "e2e",
+ "eslint.config.js",
+ "playwright.config.ts",
+ "tailwind.config.js",
+ "vitest.config.ts",
+ "vite.config.ts",
+ "playground/tailwind.config.js",
+ "playground/postcss.config.js"
+ ],
+ "compilerOptions": {
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
+ "allowImportingTsExtensions": true,
+ "noEmit": true,
+ "module": "ESNext",
+ "moduleResolution": "node",
+ "resolveJsonModule": true
+ }
+}