Skip to content

Commit

Permalink
Add md_in_html extension in markdown import
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Oct 28, 2024
1 parent 2ddd394 commit 7dd2695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/management/commands/import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ def parse_challenge(self, path):
challenge['url_orig'] = str(files_url / challenge['url_orig'][6:])
challenge['detail'] = markdown.markdown(
''.join(lines),
extensions=['codehilite', 'fenced_code', ReplaceLinks(files_url)],
extensions=['codehilite', 'fenced_code', 'md_in_html', ReplaceLinks(files_url)],
)
return challenge

0 comments on commit 7dd2695

Please sign in to comment.