Replies: 1 comment
-
While I don't think this is possible out of the box (someone can correct me if I'm wrong), I imagine a MkDocs plugin could be crafted to alter the template (or maybe the final page output) by scanning for such blocks and converting them from Markdown to HTML via a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use next code to localize Announcement
Localization is made via
mkdocs-static-i18n
, so I haveannounce
var in themkdocs.yml
.I observed one frustrating aspect: the values of the
announce
orcopyright
variables must be in a plain HTML format.The presence of
<div markdown>
together with themd_in_html
plugin does not result in the conversion of markdown markup into HTML.Is there any way to make it possible to write text in markdown in the values of variables (in
mkdocs.yml
) and then it is displayed correctly formatted in the copyright or/and announce blocks?Beta Was this translation helpful? Give feedback.
All reactions