use monospace font for editor
This commit is contained in:
parent
d29351abf7
commit
dbaf7e9bdf
3 changed files with 8 additions and 0 deletions
|
@ -153,6 +153,9 @@ AUTHENTICATION_BACKENDS = [
|
|||
]
|
||||
|
||||
|
||||
MARKDOWNX_MARKDOWNIFY_FUNCTION = "journal.renderers.render_md"
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/3.0/topics/i18n/
|
||||
|
||||
|
|
|
@ -191,3 +191,7 @@ progress {
|
|||
::-webkit-progress-value {
|
||||
background-color: #00a1cc;
|
||||
}
|
||||
|
||||
.markdownx-editor {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@ _mistune_plugins = [
|
|||
"subscript",
|
||||
"math",
|
||||
"spoiler",
|
||||
"ruby",
|
||||
]
|
||||
_markdown = mistune.create_markdown(plugins=_mistune_plugins)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue