Skip to content

Commit c926e30

Browse files
committed
Fix text with underscores
- day_of_week now works, previously was rendered as dayofweek with "of" being italicized - https://github.com/trentm/python-markdown2/wiki/code-friendly
1 parent 2db7fab commit c926e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
cur.execute('CREATE UNIQUE INDEX anchor ON searchIndex (name, type, path);')
4949

5050
# Generate tldr pages to HTML documents
51-
markdowner = md.Markdown()
51+
markdowner = md.Markdown(extras=["code-friendly"])
5252
with zipfile.ZipFile(io.BytesIO(r.content), "r") as archive:
5353
for path in archive.namelist():
5454
if path.startswith(doc_pref) and path.endswith(".md"):

0 commit comments

Comments
 (0)