Stop guessing language, to allow for plaintext code blocks

This commit is contained in:
Gabriel Augendre 2020-12-27 16:41:18 +01:00
parent 27073402e0
commit 83822dc930
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -83,7 +83,7 @@ class Article(AdminUrlMixin, models.Model):
md = markdown.Markdown(
extensions=[
"extra",
CodeHiliteExtension(linenums=False),
CodeHiliteExtension(linenums=False, guess_lang=False),
LazyLoadingImageExtension(),
]
)