Repository navigation
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 |
0 replies
|
@ssbarnea How did it go? Did you manage to achieve the result you want? |
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.
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions