BigUpdate
Python application / build (push) Has been cancelled

This commit is contained in:
Igor20264
2026-09-03 10:44:08 +03:00
parent d2da20fdb2
commit 516abe7b83
177 changed files with 40178 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
import re
from marko.inline import Image as Image_
class Image(Image_):
override = True
def __init__(self, match):
super().__init__(match)
self.unique_name = None
if self.title and (m := re.match(r"\%(\w+)( (.+))?", self.title)):
self.unique_name = m.group(1)
self.title = (m.group(3) or "").strip() or None