mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 01:31:41 +11:00
somewhat fix meta
h
This commit is contained in:
parent
d3d5858b13
commit
2b65bc9332
7 changed files with 42 additions and 47 deletions
2
.github/replace.py
vendored
2
.github/replace.py
vendored
|
|
@ -6,7 +6,7 @@ def replaces_for_beginners_guide(text):
|
|||
text = re.sub('\[TOC\]\n', '', text, flags=re.MULTILINE)
|
||||
text = re.sub('\*\*Table of Contents\*\*\n\[TOC2\]\n', '', text, flags=re.MULTILINE)
|
||||
text = re.sub('# -> \*\*\*Beginners Guide to Piracy\*\*\* <-\n', '', text, flags=re.MULTILINE)
|
||||
text = re.sub(r"!!!note\s(.+?)\n", r":::tip\n\1\n:::\n", text, flags=re.MULTILINE)
|
||||
text = re.sub(r"!!!note\s(.+?)\n", r":::info\n\1\n:::\n", text, flags=re.MULTILINE)
|
||||
text = re.sub(r"!!!info\s(.+?)\n", r":::info\n\1\n:::\n", text, flags=re.MULTILINE)
|
||||
text = re.sub(r"!!!warning\s(.+?)\n", r":::warning\n\1\n:::\n", text, flags=re.MULTILINE)
|
||||
text = re.sub(r">\s(.+?)\n", r"> \1\n\n", text, flags=re.MULTILINE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue