Can I use this with markdownextradata? #257
EdwardMoyse
started this conversation in
General
Replies: 1 comment 2 replies
-
Thanks for your question. Mkdocs-Macros, by default reads from the For reading external files, there is no default directory, but it should be straghtforward to define your plugins:
- search
- macros:
include_yaml:
- docs/_data In haven't checked it; let me know how it went (in case of issue, just read the corresponding part of the documentation). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry if this is an obvious question, but I have looked in the docs for a while now
I've been using markdownextradata, and in particular really liked that I could just pick up yaml files from
_data
, rather than makingmkdocs.yaml
huge. However then I foundmacros
and it seemed like it could do all thatmarkdownextradata
could do and more, so I removed that. But it seems like it does not pick up variable definitions from_data
. Before I re-installmarkdownextradata
, can anyone confirm that this won't break anything? Or is there a way to do what I want using this plugin?Beta Was this translation helpful? Give feedback.
All reactions