Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown fences #347

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quiz/templatetags/quiz_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def standard_ref(text):
def to_html(text, autoescape=None):
return mark_safe(
standard_ref(
markdown.markdown(text, extensions=['nl2br'])))
markdown.markdown(text, extensions=['nl2br', 'pymdownx.superfences'])))


@register.filter()
Expand Down
1 change: 1 addition & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Django>=4.1,<5
Markdown
pymdown-extensions
mock
parameterized
tweepy
Expand Down
10 changes: 8 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ idna==3.7
lxml==5.2.2
# via splinter
markdown==3.6
# via -r requirements.in
# via
# -r requirements.in
# pymdown-extensions
mock==5.1.0
# via -r requirements.in
oauthlib==3.2.2
Expand All @@ -42,10 +44,14 @@ pip-tools==7.4.1
# via -r requirements.in
pycodestyle==2.12.0
# via autopep8
pymdown-extensions==10.9
# via -r requirements.in
pyproject-hooks==1.1.0
# via
# build
# pip-tools
pyyaml==6.0.1
# via pymdown-extensions
requests==2.32.3
# via
# requests-oauthlib
Expand All @@ -54,7 +60,7 @@ requests-oauthlib==1.3.1
# via tweepy
splinter[django]==0.21.0
# via -r requirements.in
sqlparse==0.5.0
sqlparse==0.5.1
# via django
tweepy==4.14.0
# via -r requirements.in
Expand Down
Loading