mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Tweak Markdown-not-installed console warnings
Adding single-quotation marks should cause 'markdown' to be highlighted in green, presumably via Rich.
This commit is contained in:
parent
f89f8894cc
commit
6a50191728
2 changed files with 4 additions and 4 deletions
|
|
@ -353,8 +353,8 @@ class MarkdownReader(BaseReader):
|
|||
|
||||
def disabled_message(self) -> str:
|
||||
return (
|
||||
"Could not import markdown.Markdown. "
|
||||
"Have you installed the markdown package?"
|
||||
"Could not import 'markdown.Markdown'. "
|
||||
"Have you installed the 'markdown' package?"
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -322,6 +322,6 @@ class TestPelican(LoggedTestCase):
|
|||
self.assertLogCountEqual(
|
||||
1,
|
||||
".*article_with_md_extension.md: "
|
||||
"Could not import markdown.Markdown. "
|
||||
"Have you installed the markdown package?",
|
||||
"Could not import 'markdown.Markdown'. "
|
||||
"Have you installed the 'markdown' package?",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue