-
Hi I want to use the macros plugin to include a md file into another This combination does not work because the Does someone know a solution for this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Create a macro to read the CSV. Extract and register the data in CSV into variables. And declare them with the table syntax in Markdown. |
Beta Was this translation helpful? Give feedback.
-
This is a problem because both have the same syntax. Idea, but I am not sure whether it would work: place mkdocs-table-reader-plugin before in the list of plugins. But that plugin's call to Jinja2 should be modified so that it doesn't fail when it finds other calls to variables, functions and filters. That depends on the good will of the writer of the plugin. Otherwise, yes, it might be faster to write your own macro. That should be straightforward especially if you use pandas |
Beta Was this translation helpful? Give feedback.
Create a macro to read the CSV. Extract and register the data in CSV into variables. And declare them with the table syntax in Markdown.