Skip to content

Commit

Permalink
Update ssg.py for markdown in html
Browse files Browse the repository at this point in the history
  • Loading branch information
linesinalandscape authored Dec 13, 2024
1 parent 3d293e2 commit 2301a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssg.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_md_data():
md = file.read_text(encoding='utf-8')

# Convert markdown to HTML and store metadata
md_converted = markdown(md, extras=['metadata'])
md_converted = markdown(md, extras=['metadata', 'markdown-in-html'])
file_data['content'] = str(md_converted)
file_data.update(md_converted.metadata)

Expand Down

0 comments on commit 2301a76

Please sign in to comment.