mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-23 21:18:00 +01:00
Readability
This commit is contained in:
parent
705121161b
commit
46a8aa8c09
@ -33,9 +33,11 @@ def fix_newlines(string):
|
||||
string = string.strip()
|
||||
return string
|
||||
|
||||
|
||||
def replace_blockquote(m):
|
||||
return m.group().replace('\n', '\n> ').replace('\\begin{blockquote}', '').replace('\\end{blockquote}', '')
|
||||
|
||||
|
||||
def convert_to_markdown(string):
|
||||
|
||||
# Blockquote
|
||||
|
Loading…
Reference in New Issue
Block a user