mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 09:51:41 +11:00
feat(theme): replace with twemojis
This commit is contained in:
parent
4cead6f935
commit
0e69461b59
4 changed files with 56 additions and 2 deletions
4
.github/replace.py
vendored
4
.github/replace.py
vendored
|
|
@ -53,6 +53,10 @@ def general(text: str):
|
|||
text = re.sub("## ▷", "###", text)
|
||||
text = re.sub("####", "###", text)
|
||||
|
||||
text = re.sub("⭐", ":star:", text)
|
||||
text = re.sub("🌐", ":globe-with-meridians: ", text)
|
||||
text = re.sub("↪️ ", ":repeat-button: ", text)
|
||||
|
||||
text = re.sub(
|
||||
r"^\*\*Note\*\* - (.+)$", r":::tip\n\1\n:::", text, flags=re.MULTILINE
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue