Markdown replacements

merge-requests/30/head
Bob Mottram 2022-06-27 13:47:22 +01:00
parent ef6f32cc22
commit a5fa18aa35
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ def _markdown_emphasis_html(markdown: str) -> str:
'**:': '</b>:', '**:': '</b>:',
'**;': '</b>;', '**;': '</b>;',
'?**': '?</b>', '?**': '?</b>',
'\n**': '\n<b>',
'**,': '</b>,', '**,': '</b>,',
'**\n': '</b>\n', '**\n': '</b>\n',
'>**': '><b>', '>**': '><b>',
@ -27,6 +28,7 @@ def _markdown_emphasis_html(markdown: str) -> str:
' *': ' <i>', ' *': ' <i>',
'* ': '</i> ', '* ': '</i> ',
'?*': '?</i>', '?*': '?</i>',
'\n*': '\n<i>',
'*.': '</i>.', '*.': '</i>.',
'*:': '</i>:', '*:': '</i>:',
'*;': '</i>;', '*;': '</i>;',