Stop guessing language, to allow for plaintext code blocks
This commit is contained in:
parent
27073402e0
commit
83822dc930
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Article(AdminUrlMixin, models.Model):
|
||||||
md = markdown.Markdown(
|
md = markdown.Markdown(
|
||||||
extensions=[
|
extensions=[
|
||||||
"extra",
|
"extra",
|
||||||
CodeHiliteExtension(linenums=False),
|
CodeHiliteExtension(linenums=False, guess_lang=False),
|
||||||
LazyLoadingImageExtension(),
|
LazyLoadingImageExtension(),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue