Skip to content

Commit

Permalink
Fix text with underscores
Browse files Browse the repository at this point in the history
- day_of_week now works, previously was rendered as dayofweek with "of" being italicized
- https://github.com/trentm/python-markdown2/wiki/code-friendly
  • Loading branch information
cvn committed Feb 12, 2018
1 parent 2db7fab commit c926e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
cur.execute('CREATE UNIQUE INDEX anchor ON searchIndex (name, type, path);')

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

0 comments on commit c926e30

Please sign in to comment.