diff --git a/.vitepress/theme/custom.css b/.vitepress/theme/custom.css
index 94ed33f..f9c34fc 100644
--- a/.vitepress/theme/custom.css
+++ b/.vitepress/theme/custom.css
@@ -2,3 +2,12 @@
font-style: italic;
opacity: 0.15;
}
+
+.wrong {
+ color: red;
+ margin-left: 2em;
+
+ &:not(:hover) {
+ opacity: 0.5;
+ }
+}
diff --git a/_post/grammar/allsetlearning/B2/倒.md b/_post/grammar/allsetlearning/B2/倒.md
index a29ffb6..28a675e 100644
--- a/_post/grammar/allsetlearning/B2/倒.md
+++ b/_post/grammar/allsetlearning/B2/倒.md
@@ -39,8 +39,8 @@
- Level: [B2](https://resources.allsetlearning.com/chinese/grammar/B2_grammar_points) / [HSK4](https://resources.allsetlearning.com/chinese/grammar/HSK4_grammar_points)
- Similar to
- - [Expressing "on the contrary" with "反而"](https://resources.allsetlearning.com/chinese/grammar/Expressing_%22on_the_contrary%22_with_%22fan%27er%22) (B2)
- - [The "however" adverb "却"](https://resources.allsetlearning.com/chinese/grammar/The_%22however%22_adverb_%22que%22) (B2)
+ - [Expressing "on the contrary" with "反而"](./反而) (B2)
+ - [The "however" adverb "却"](./却) (B2)
- Used for: [Contrasting](https://resources.allsetlearning.com/chinese/grammar/Contrasting)
- Keywords: [倒](https://resources.allsetlearning.com/chinese/grammar/%E5%80%92)
@@ -107,6 +107,6 @@ For more on [倒](https://resources.allsetlearning.com/chinese/grammar/%E5%80%92
## See also
- Expressing contrariness with "dao"
-- [The "However" Adverb "que"](https://resources.allsetlearning.com/chinese/grammar/The_%22However%22_Adverb_%22que%22)
-- ["On the Contrary" with "fan'er"](https://resources.allsetlearning.com/chinese/grammar/%22On_the_Contrary%22_with_%22fan%27er%22)
+- [The "However" Adverb "却"](./却)
+- ["On the Contrary" with "反而"](./反而)
- [Conceding a Point with "shi"](https://resources.allsetlearning.com/chinese/grammar/Conceding_a_Point_with_%22shi%22)
diff --git a/_post/grammar/allsetlearning/B2/却.md b/_post/grammar/allsetlearning/B2/却.md
new file mode 100644
index 0000000..0fa592b
--- /dev/null
+++ b/_post/grammar/allsetlearning/B2/却.md
@@ -0,0 +1,126 @@
+# The "however" adverb "却"
+
+
+
+- 他 是 老板 ,_却_ 没有 人 听 他 的 。
+
+ - He's the boss, but nobody listens to him.
+- 他 的 学历 很 高 ,能力 _却_ 很 一般 。
+
+ - He's very well-educated, but his ability is average.
+- 他们 一见钟情 , _却_ 没有 在 一起 。
+
+ - They fell in love at first sight, but they didn't end up with each other.
+- 这 件 衣服 虽然 是 名牌 ,_但是_ 质量 _却_ 不 怎么样 。
+
+ - Although this clothing is brand-name, the quality is not so good.
+- 有些 人 智商 很 高 ,情商 _却_ 很 低 。
+
+ - Some people have high IQ, but really low EQ.
+- 他 只有 16 岁,_却_ 比 同龄人 成熟 得 多 。
+
+ - He's only sixteen, but he's much more mature than others his age.
+- 我 是 你 最好 的 朋友 ,**你** _却_ 没 邀请 我 。
+
+ - I'm your best friend, but you didn't invite me.
+- 我 是 你 最好 的 朋友 ,**但是** 你 _却_ 没 邀请 我 。
+
+ - I'm your best friend, but you didn't invite me.
+- 他 家 很 有钱 ,**他** _却_ 从来 不 炫耀 。
+ - His family is rich, but he never flaunts it.
+
+- 他 家 很 有钱 ,**但是** 他 _却_ 从来 不 炫耀 。
+
+ - His family is rich, but he never flaunts it.
+
+
+
+
+
+- Level: [B2](https://resources.allsetlearning.com/chinese/grammar/B2_grammar_points) / [HSK4](https://resources.allsetlearning.com/chinese/grammar/HSK4_grammar_points)
+- Similar to:
+- Used for: [Contrasting](https://resources.allsetlearning.com/chinese/grammar/Contrasting), [Differentiating](https://resources.allsetlearning.com/chinese/grammar/Differentiating)
+- Keywords: [却](https://resources.allsetlearning.com/chinese/grammar/%E5%8D%B4)
+
+
+
+却 (què) is used to indicate something was contrary to expectations, and is used in a similar way to [倒 (dào)](https://resources.allsetlearning.com/chinese/grammar/Expressing_Contrariness_with_%22dao%22). However, 却 is generally followed by a negative comment.
+
+## Structure
+
+The overall structure of sentences that use 却 is something like this:
+
+Sentence ,(但是 +) Subj. + 却 ⋯⋯
+
+Normally the first clause above makes a statement, and then the second clause introduces something contrary, generally in the form of a negative comment.
+
+## Examples
+
+In the following examples, take note that 却 comes _after_ the subject in each case, and that it can be used together with 但是.
+
+- 他 是 老板 ,_却_ 没有 人 听 他 的 。
+
+ - He's the boss, but nobody listens to him.
+- 他 的 学历 很 高 ,能力 _却_ 很 一般 。
+
+ - He's very well-educated, but his ability is average.
+- 他们 一见钟情 , _却_ 没有 在 一起 。
+
+ - They fell in love at first sight, but they didn't end up with each other.
+- 这 件 衣服 虽然 是 名牌 ,_但是_ 质量 _却_ 不 怎么样 。
+
+ - Although this clothing is brand-name, the quality is not so good.
+- 有些 人 智商 很 高 ,情商 _却_ 很 低 。
+
+ - Some people have high IQ, but really low EQ.
+- 他 只有 16 岁,_却_ 比 同龄人 成熟 得 多 。
+
+ - He's only sixteen, but he's much more mature than others his age.
+
+## Common Mistake: Putting 却 Before the Subject
+
+It's also important to point out that 却 is not a [conjunction](https://resources.allsetlearning.com/chinese/grammar/Conjunction); it's an [adverb](https://resources.allsetlearning.com/chinese/grammar/Adverb). Practically speaking, this means that rather than joining two statements, it goes _inside_ a statement (within the second clause). Specifically, it needs to come _after the subject_ and _before the verb_. (Note that when you use a conjunction like 但是 it comes _before_ the subject! 却 is different in this respect. Also, rather than _replacing_ 但是, it can work _with_ it to add emphasis.)
+
+Sometimes the subject of the second clause will be omitted. If there is a subject, however, 却 definitely needs to come _after_ it.
+
+A few examples to give you a better understanding of this:
+
+
+
+- 我 是 你 最好 的 朋友 ,_却_ **你** 没 邀请 我 。
+
+
+
+
+- 我 是 你 最好 的 朋友 ,**你** _却_ 没 邀请 我 。
+
+- 我 是 你 最好 的 朋友 ,**但是** 你 _却_ 没 邀请 我 。
+
+ - I'm your best friend, but you didn't invite me.
+
+
+
+- 他 家 很 有钱 ,_却_ **他** 从来 不 炫耀 。
+
+
+
+
+- 他 家 很 有钱 ,**他** _却_ 从来 不 炫耀 。
+
+- 他 家 很 有钱 ,**但是** 他 _却_ 从来 不 炫耀 。
+
+ - His family is rich, but he never flaunts it.
+
+## See also
+
+- [Expressing Contrariness with "倒"](./倒)
+- ["On the Contrary" with "反而"](./反而)
+- [A Softer "But"](https://resources.allsetlearning.com/chinese/grammar/A_Softer_%22But%22)
+
+## Sources and further reading
+
+### Books
+
+- [HSK Standard Course 4上](https://resources.allsetlearning.com/chinese/grammar/HSK_Standard_Course_4%E4%B8%8A) (pp. 22) [Anything Goes (无所不谈) →buy](https://www.amazon.cn/mn/detailApp?_encoding=UTF8&tag=allset-23&linkCode=as2&asin=B001J0ADWA&camp=536&creative=3132&creativeASIN=B001J0ADWA,)
+- [Chinese Grammar - Broken down into 100 items - Basic and Intermediate Levels (汉语语法百项讲练 - 初中级) ]() (pp. 140-2) [Anything Goes (无所不谈) →buy](https://www.amazon.cn/mn/detailApp?_encoding=UTF8&tag=allset-23&linkCode=as2&asin=B001J0ADWA&camp=536&creative=3132&creativeASIN=B001J0ADWA,)
+- [New Practical Chinese Reader 4 (新实用汉语课本4)]() (pp. 184) [Anything Goes (无所不谈) →buy](https://www.amazon.cn/mn/detailApp?_encoding=UTF8&tag=allset-23&linkCode=as2&asin=B001J0ADWA&camp=536&creative=3132&creativeASIN=B001J0ADWA,)
diff --git a/_post/grammar/allsetlearning/B2/反而.md b/_post/grammar/allsetlearning/B2/反而.md
new file mode 100644
index 0000000..c9cb3f0
--- /dev/null
+++ b/_post/grammar/allsetlearning/B2/反而.md
@@ -0,0 +1,135 @@
+# Expressing "on the contrary" with "反而"
+
+
+
+- 吃 了 这个 药 ,病 _反而_ 更 严重 了。
+
+ - After taking the medicine, the illness actually got even worse.
+- 这个 新 系统 _反而_ 降低 了 我们 的 工作 效率 。
+
+ - This new system actually reduced our work efficiency.
+- 他 没有 放弃 ,_反而_ 更 努力 了 !
+
+ - He didn't give up; on the contrary, he worked even harder.
+- 改革 _反而_ 让 老百姓 更 不 满意 了 。
+
+ - Reform actually made the people less satisfied.
+- 你 的 参与 _反而_ 给 我们 带来 了 麻烦 。
+
+ - Your involvement is actually giving us trouble.
+- 吃 了 药 ,病 **不但 没** 好,_反而_ 更 严重 了。
+
+ - After taking the medicine, the illness not only didn't get better, but actually got even worse.
+- 失败 了 这么 多 次 ,他 **不但 没** 放弃 ,_反而_ 更 努力 了。
+
+ - Having failed so many times, he not only didn't give up, but rather worked even harder.
+- 他 **不但 不** 帮 我 ,_反而_ 给 我 找 麻烦 。
+
+ - He not only didn't help me, but rather gave me trouble.
+- 你 妈妈 那么 爱 你 ,你 **不但 不** 感激 ,_反而_ 说 她 不 关心 你 ?
+
+ - Your mother loves you so much, and not only are you not grateful, but you even say she doesn't care about you?
+- 我 吃 了 减肥 药 ,**不但 没** 瘦 ,_反而_ 长胖 了 !
+
+ - I took a weight loss pill. Not only did I not lose weight, but rather I actually gained weight!
+
+
+
+
+
+- Level: [B2](https://resources.allsetlearning.com/chinese/grammar/B2_grammar_points) / [HSK5](https://resources.allsetlearning.com/chinese/grammar/HSK5_grammar_points)
+- Similar to
+ - [Expressing contrariness with "倒"](./倒) (B2)
+ - [The "however" adverb "却"](https://resources.allsetlearning.com/chinese/grammar/The_%22however%22_adverb_%22que%22) (B2)
+- Used for: [Denying and refusing](https://resources.allsetlearning.com/chinese/grammar/Denying_and_refusing), [Contrasting](https://resources.allsetlearning.com/chinese/grammar/Contrasting)
+
+- Keywords: [不但](https://resources.allsetlearning.com/chinese/grammar/%E4%B8%8D%E4%BD%86), [不仅](https://resources.allsetlearning.com/chinese/grammar/%E4%B8%8D%E4%BB%85), [反而](https://resources.allsetlearning.com/chinese/grammar/%E5%8F%8D%E8%80%8C)
+
+
+
+反而 (fǎn'ér) is used to express "on the contrary" or "in contrast," with 反而 appearing as part of the second part of the sentence. Note that the meaning of 反而 goes beyond just "but" and is usually used to explain that something is totally the opposite of what one was expecting.
+
+## Simple Pattern
+
+### Structure
+
+Normally the first clause makes a statement, and then the second clause introduces the part that is totally opposite of one's expectations. The word "actually" may be helpful in some translations.
+
+⋯⋯ ,Subj. + 反而 + [Unexpected Outcome]
+
+It's also important to point out that 反而 is not a [conjunction](https://resources.allsetlearning.com/chinese/grammar/Conjunctions); it's an [adverb](https://resources.allsetlearning.com/chinese/grammar/Adverbs). Practically speaking, this means that rather than joining two statements, it goes _inside_ a statement (within the second clause). Specifically, it needs to come _after the subject_ (if there is one) and _before the verb_. (This is different from a conjunction like 但是 which comes _before_ the subject!) Also 反而 can appear in one sentence with 但是. Rather than _replacing_ it, 反而 can work _with_ 但是 to add even more contrarian emphasis.
+
+### Examples
+
+- 吃 了 这个 药 ,病 _反而_ 更 严重 了。
+
+ - After taking the medicine, the illness actually got even worse.
+- 这个 新 系统 _反而_ 降低 了 我们 的 工作 效率 。
+
+ - This new system actually reduced our work efficiency.
+- 他 没有 放弃 ,_反而_ 更 努力 了 !
+
+ - He didn't give up; on the contrary, he worked even harder.
+- 改革 _反而_ 让 老百姓 更 不 满意 了 。
+
+ - Reform actually made the people less satisfied.
+- 你 的 参与 _反而_ 给 我们 带来 了 麻烦 。
+
+ - Your involvement is actually giving us trouble.
+
+## Common Mistake: Putting 反而 Before the Subject
+
+Take note: when the subject of the first and second clause are the same, the subject can be omitted in the second clause (after the comma and before 反而). If there _is_ a subject, however, 反而 definitely needs to come _after_ it. See the simple examples below and then check the longer sentences above, confirming this rule.
+
+
+
+- 我 帮 了 她 , _反而_ **她** 生气 了 。
+
+
+
+
+- 我 帮 了 她 , **她** _反而_ 生气 了 。
+
+
+## Fuller Pattern
+
+Adding [不但](https://resources.allsetlearning.com/chinese/grammar/%E4%B8%8D%E4%BD%86) or [不仅](https://resources.allsetlearning.com/chinese/grammar/%E4%B8%8D%E4%BB%85) adds a sense of "not only" before the "to the contrary" part. The word "actually" can be useful here for translations into English.
+
+### Structure
+
+⋯⋯ ,Subj. [不但 / 不仅] + [不 / 没] ⋯⋯,反而 + [Unexpected Outcome]
+
+### Examples
+
+- 吃 了 药 ,病 **不但 没** 好,_反而_ 更 严重 了。
+
+ - After taking the medicine, the illness not only didn't get better, but actually got even worse.
+- 失败 了 这么 多 次 ,他 **不但 没** 放弃 ,_反而_ 更 努力 了。
+
+ - Having failed so many times, he not only didn't give up, but rather worked even harder.
+- 他 **不但 不** 帮 我 ,_反而_ 给 我 找 麻烦 。
+
+ - He not only didn't help me, but rather gave me trouble.
+- 你 妈妈 那么 爱 你 ,你 **不但 不** 感激 ,_反而_ 说 她 不 关心 你 ?
+
+ - Your mother loves you so much, and not only are you not grateful, but you even say she doesn't care about you?
+- 我 吃 了 减肥 药 ,**不但 没** 瘦 ,_反而_ 长胖 了 !
+
+ - I took a weight loss pill. Not only did I not lose weight, but rather I actually gained weight!
+
+## See also
+
+- [The "however" adverb "却"](./却)
+- [Expressing Contrariness with "倒"](./倒)
+
+## Sources and further reading
+
+### Books
+
+- [Modern Mandarin Chinese Grammar: A Practical Guide](https://resources.allsetlearning.com/chinese/grammar/Modern_Mandarin_Chinese_Grammar:_A_Practical_Guide) (pp. 259) [Anything Goes (无所不谈) →buy](https://www.amazon.cn/mn/detailApp?_encoding=UTF8&tag=allset-23&linkCode=as2&asin=B001J0ADWA&camp=536&creative=3132&creativeASIN=B001J0ADWA,)
+- [New Practical Chinese Reader 4 (新实用汉语课本4)]() (pp. 84) [Anything Goes (无所不谈) →buy](https://www.amazon.cn/mn/detailApp?_encoding=UTF8&tag=allset-23&linkCode=as2&asin=B001J0ADWA&camp=536&creative=3132&creativeASIN=B001J0ADWA,)
+- [卓越汉语-公司实战篇](https://resources.allsetlearning.com/chinese/grammar/%E5%8D%93%E8%B6%8A%E6%B1%89%E8%AF%AD%EF%BC%8D%E5%85%AC%E5%8F%B8%E5%AE%9E%E6%88%98%E7%AF%87) (pp. 83, 151-2) [卓越汉语-公司实战篇 →buy](http://amzn.to/2z4g8q6,)
+
+### Websites
+
+- 汉语教学: [[反而](http://www.pep.com.cn/xgjy/hyjx/hyxxzy/hyxx/cyxx/201009/t20100901_855691.htm)]
diff --git a/package.json b/package.json
index ea2433a..b33940f 100644
--- a/package.json
+++ b/package.json
@@ -4,9 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
- "vp:web": "vitepress dev",
- "vp:node": "node webview.js",
- "vp": "concurrently pnpm:vp:*",
+ "vp:web": "vitepress dev --open",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
diff --git a/webview.js b/webview.js
index e8aa212..64cdee6 100644
--- a/webview.js
+++ b/webview.js
@@ -3,5 +3,13 @@ const { Webview } = require("webview-nodejs");
let w = new Webview();
w.title("zhdiary");
w.size(1920, 1280);
+w.init(/* js */ `
+ document.addEventListener('click', (ev) => {
+ if (ev.target.matches('a')) {
+ const href = ev.target.href || '';
+ if (href.startsWith('https://')) ev.preventDefault();
+ }
+ })
+`);
w.navigate("http://localhost:50156");
w.show();