chore(release): v1.5.7 - Bone Ships and the Russian translation
README: the stack of "New in" blocks at the top is down to the latest release, a languages line with flags sits under the intro, Bone Ships gets its own section, and the Translations section credits Rudra and Axibed for the Russian. nexus-readme.py keeps an image inside a line of text inline, so the flags do not come out as 350 px pictures on Nexus.
This commit is contained in:
parent
60e9b0ab72
commit
02c640e1d9
5 changed files with 37 additions and 30 deletions
|
|
@ -27,6 +27,9 @@ def inline(text):
|
|||
"""Markdown's inline marks, in an order where they cannot eat each other."""
|
||||
text = re.sub(r"\*\*(.+?)\*\*", r"[b]\1[/b]", text)
|
||||
text = re.sub(r"`([^`]+)`", r'"\1"', text)
|
||||
# An image inside a line of text (the language flags) stays inline at its own size; a line that
|
||||
# is only an image never gets here, convert() gathers those first.
|
||||
text = re.sub(r"!\[[^\]]*\]\(([^)]+)\)", r"[img]\1[/img]", text)
|
||||
# An in-page anchor means nothing on a Nexus description, so the link text stays and the
|
||||
# link goes: "Full details under Sverm" reads the same, and a dead #10-sverm does not.
|
||||
text = re.sub(r"\[([^\]]+)\]\(#[^)]*\)", r"\1", text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue