How to use hide side functionalities with mdformat github action #5331
-
Hello! I'm using Hiding sidebar functionalities in a Python repo that has also pre-commit configured with mdformat. ---
hide:
- navigation
--- is reformatted into this: ______________________________________________________________________
hide:
- navigation
______________________________________________________________________ and after that it is not recognized by mkdocs and therefore it doesn't work. Is there a way to make this theme support the mdformat syntax? Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The header meta data of a Markdown file is called front matter. The issue is that your mdformat tool doesn't support it. In the linked issue thread some mdformat-mkdocs plugin collection is mentioned you could install and add such support but I did not try it myself ✌️ |
Beta Was this translation helpful? Give feedback.
The header meta data of a Markdown file is called front matter.
The issue is that your mdformat tool doesn't support it.
hukkin/mdformat#332
In the linked issue thread some mdformat-mkdocs plugin collection is mentioned you could install and add such support but I did not try it myself ✌️