Replies: 2 comments
-
We need to make sure we are talking about the same thing? MkDocs-Macros is a plugin, which is distinct from a theme. However, it is possible that one would want to make a macro specifically for the Material theme. In any case, it is understandable that you want to reuse the same macros across different projects. To avoid duplicating code, the solution is to make your module file into a pluglet. A pluglet is basically a module installable through |
Beta Was this translation helpful? Give feedback.
-
@ssbarnea How did it go? Did you manage to achieve the result you want? |
Beta Was this translation helpful? Give feedback.
-
We have something like 10 projects that all rely on a custom mkdocs theme and I want to add a macro that would expand in each of this projects but without having to duplicate its definition in each of them.
How can I achieve this?
PS. This might be related to squidfunk/mkdocs-material#6911
Beta Was this translation helpful? Give feedback.
All reactions