diff --git a/dmoj/urls.py b/dmoj/urls.py
index 2f01db5..ef7ba4a 100644
--- a/dmoj/urls.py
+++ b/dmoj/urls.py
@@ -1090,7 +1090,7 @@ urlpatterns = [
]
),
),
- # url("__debug__/", include("debug_toolbar.urls")), # debug_toolbar use
+ url("__debug__/", include("debug_toolbar.urls")), # debug_toolbar use
] + url_static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
favicon_paths = [
diff --git a/resources/pagedown/Markdown.Editor.js b/resources/pagedown/Markdown.Editor.js
index 3e71a28..72b21d7 100644
--- a/resources/pagedown/Markdown.Editor.js
+++ b/resources/pagedown/Markdown.Editor.js
@@ -55,7 +55,7 @@
hr: "Horizontal Rule
Ctrl+R",
- adnomination: "Adnomination",
+ admonition: "Admonition",
spoiler: "Spoiler",
spoilerSummary: "summary",
spoilerDetail: "detail",
@@ -1521,7 +1521,7 @@
buttons.heading = makeButton("wmd-heading-button", getString("heading"), bindCommand("doHeading"));
buttons.hr = makeButton("wmd-hr-button", getString("hr"), bindCommand("doHorizontalRule"));
makeSpacer(3);
- buttons.spoiler = makeButton("wmd-adnomination-button", getString("adnomination"), bindCommand("doAdnomination"));
+ buttons.spoiler = makeButton("wmd-admonition-button", getString("admonition"), bindCommand("doAdmonition"));
buttons.spoiler = makeButton("wmd-spoiler-button", getString("spoiler"), bindCommand("doSpoiler"));
makeSpacer(4);
buttons.undo = makeButton("wmd-undo-button", getString("undo"), null);
@@ -1946,7 +1946,7 @@
chunk.after = "\n" + chunk.after;
}
- commandProto.doAdnomination = function(chunk, postProcessing) {
+ commandProto.doAdmonition = function(chunk, postProcessing) {
chunk.selection = "";
if (chunk.before && !/\s$/.test(chunk.before)) {
commandProto.doAutoindent(chunk, postProcessing);
diff --git a/resources/pagedown/resources/adnomination.svg b/resources/pagedown/resources/admonition.svg
similarity index 100%
rename from resources/pagedown/resources/adnomination.svg
rename to resources/pagedown/resources/admonition.svg
diff --git a/resources/pagedown_widget.css b/resources/pagedown_widget.css
index 0fcb70b..feae611 100644
--- a/resources/pagedown_widget.css
+++ b/resources/pagedown_widget.css
@@ -105,8 +105,8 @@
background-size: 18px;
}
-.wmd-adnomination-button {
- background-image: url("pagedown/resources/adnomination.svg");
+.wmd-admonition-button {
+ background-image: url("pagedown/resources/admonition.svg");
}
.wmd-spoiler-button {