use monospace font for editor

This commit is contained in:
Your Name 2023-01-30 22:11:47 -05:00
parent d29351abf7
commit dbaf7e9bdf
3 changed files with 8 additions and 0 deletions

View file

@ -153,6 +153,9 @@ AUTHENTICATION_BACKENDS = [
]
MARKDOWNX_MARKDOWNIFY_FUNCTION = "journal.renderers.render_md"
# Internationalization
# https://docs.djangoproject.com/en/3.0/topics/i18n/

View file

@ -191,3 +191,7 @@ progress {
::-webkit-progress-value {
background-color: #00a1cc;
}
.markdownx-editor {
font-family: monospace;
}

View file

@ -15,6 +15,7 @@ _mistune_plugins = [
"subscript",
"math",
"spoiler",
"ruby",
]
_markdown = mistune.create_markdown(plugins=_mistune_plugins)