forked from github/pelican
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:
|
def disabled_message(self) -> str:
|
||||||
return (
|
return (
|
||||||
"Could not import markdown.Markdown. "
|
"Could not import 'markdown.Markdown'. "
|
||||||
"Have you installed the markdown package?"
|
"Have you installed the 'markdown' package?"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -322,6 +322,6 @@ class TestPelican(LoggedTestCase):
|
||||||
self.assertLogCountEqual(
|
self.assertLogCountEqual(
|
||||||
1,
|
1,
|
||||||
".*article_with_md_extension.md: "
|
".*article_with_md_extension.md: "
|
||||||
"Could not import markdown.Markdown. "
|
"Could not import 'markdown.Markdown'. "
|
||||||
"Have you installed the markdown package?",
|
"Have you installed the 'markdown' package?",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue