partially make questions groups in bg

This commit is contained in:
taskylizard 2023-11-04 01:29:16 +05:30
parent d6d35ccf11
commit a9724b16d6
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497

1
.github/replace.py vendored
View File

@ -13,6 +13,7 @@ def replaces_for_beginners_guide(text):
text = re.sub('\*\*\[\^ Back to Top\]\(#beginners-guide-to-piracy\)\*\*', '', text, flags=re.MULTILINE)
text = re.sub(r"!!!\s(.+?)\n", r":::info\n\1\n:::\n", text, flags=re.MULTILINE)
text = re.sub("\n\*\*\[", "\n* **[", text, flags=re.MULTILINE)
text = re.sub(r'>(.*)\n\n(.*)', r':::details \1\n\2\n:::', text, flags=re.MULTILINE)
return text
def do_some_individual_replaces(text):