Readability
This commit is contained in:
parent
705121161b
commit
46a8aa8c09
1 changed files with 2 additions and 0 deletions
|
@ -33,9 +33,11 @@ def fix_newlines(string):
|
||||||
string = string.strip()
|
string = string.strip()
|
||||||
return string
|
return string
|
||||||
|
|
||||||
|
|
||||||
def replace_blockquote(m):
|
def replace_blockquote(m):
|
||||||
return m.group().replace('\n', '\n> ').replace('\\begin{blockquote}', '').replace('\\end{blockquote}', '')
|
return m.group().replace('\n', '\n> ').replace('\\begin{blockquote}', '').replace('\\end{blockquote}', '')
|
||||||
|
|
||||||
|
|
||||||
def convert_to_markdown(string):
|
def convert_to_markdown(string):
|
||||||
|
|
||||||
# Blockquote
|
# Blockquote
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue