Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定義網站類型 #53

Open
c2xusnpq6 opened this issue May 11, 2021 · 2 comments
Open

自定義網站類型 #53

c2xusnpq6 opened this issue May 11, 2021 · 2 comments

Comments

@c2xusnpq6
Copy link

c2xusnpq6 commented May 11, 2021

你即將訪問「內容農場」 --> 「紅色媒體」

 # type:紅色媒體
或
 # type=紅色媒體

你即將訪問紅色媒體 要繼續嗎?👍👍👍
你即將訪問類內容農場網站 要繼續嗎?👍👍👍
你即將訪問色情網站 要繼續嗎?👍👍👍

怎樣判斷範圍(行x~行y)?.. 這個就要交給經驗豐富的您了

 # type:紅色媒體
 # type:紅色媒體 end

這樣?.... 還是交給你吧~

@danny0838
Copy link
Owner

danny0838 commented May 12, 2021

不錯的點子。不過和 #33 類似,我們還要評估具體使用什麼符號或語法比較適合。如果大家有「為什麼使用 XXX 語法比較好」或「為什麼使用 XXX 語法比較不好」的理由,歡迎提出。

你的 # type:紅色媒體 前面是有個空格的嗎?

判斷範圍倒是不難,假設語法是 # type: 紅色媒體,那就是在遇到下一個 type 以前都套用這個 type。如果要回復預設的「內容農場」可用 # type: 表示。

@danny0838
Copy link
Owner

#59 類似,請先試試註解可否符合需求。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants