mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Fri 4 Mar 17:54:42 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
be0c6c1158
commit
33c6538e86
1 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,13 @@ import sys
|
|||
import markdown
|
||||
from bs4 import BeautifulSoup as bs
|
||||
|
||||
try:
|
||||
import readline
|
||||
except ImportError:
|
||||
readline = 0 # type: ignore
|
||||
|
||||
del readline
|
||||
|
||||
CHARACTER_MAP = {"/": "_", " ": "-", "?": "_", "#": "_", "<": "_", ">": "_", "\\": "_"}
|
||||
|
||||
BLOG_MARKDOWN_TEMPLATE = """# %s
|
||||
|
|
Loading…
Add table
Reference in a new issue