Report a bug in the pause menu (a new Gitea issue filled in with the version, computer, mode, land and where you are; copy the details; the log file), the playtest guide (docs/PLAYTEST.md), and the Cove's 0.6.0 parts in the player guide
This commit is contained in:
@@ -21,6 +21,8 @@ def inline(s):
|
||||
s = esc(s)
|
||||
s = re.sub(r"`([^`]+)`", r"<code>\1</code>", s)
|
||||
s = re.sub(r"\*\*([^*]+)\*\*", r"<b>\1</b>", s)
|
||||
# [text](https://...) links (after esc: the URL has no quotes or brackets).
|
||||
s = re.sub(r"\[([^\]]+)\]\((https://[^)\s\"<>]+)\)", r'<a href="\2">\1</a>', s)
|
||||
return s
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user