mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-15 21:08:10 -07:00
Improved markdown formatting of understanding reticulum manual chapter
This commit is contained in:
@@ -11,6 +11,7 @@ LINE_START_PATTERNS = [
|
||||
]
|
||||
|
||||
LINE_ANY_PATTERNS = [
|
||||
# r'<br/>',
|
||||
# r'<div[^>]*>',
|
||||
# r'</div>',
|
||||
]
|
||||
@@ -57,6 +58,8 @@ def clean_markdown_content(content, start_patterns, any_patterns, api_ref=False)
|
||||
if line.startswith("#### "): line = line.replace("#### ", "#### `")
|
||||
line = f"{line}`"
|
||||
|
||||
line = line.replace("<br/>", "")
|
||||
|
||||
result.append(line)
|
||||
|
||||
# Remove trailing empty lines from end of file
|
||||
|
||||
Reference in New Issue
Block a user