Replies: 2 comments
-
Hi Petr, Thank you for kind words! I was looking into page embedding a couple of weeks ago, and it seems doable. Although I wasn't sure whether anyone uses this feature at all. You confirmed that you do, so I'll try implementing it. |
Beta Was this translation helpful? Give feedback.
-
Hi No please don't undo functionality :) I just gave it a quick try by copying and adapting your logic: I worked but it is probably not the best quality code as I'm not a Pyhton developer. Also the integration of the pages works for me only from a fixed directory as relative paths didn't worked. So I have added this to my config and did put the includes all in the same folder docs/includes: mkdocs.yaml
plugin.py
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi GooRoo.
Thank you. Your plugin solves already a big issue resolving the links and images.
There is already a plugin for call outs and comments: maybe you can have look there instead of reinventing (I use both plugins now in parallel: https://github.com/ndy2/mkdocs-obsidian-support-plugin (or maybe just reference to the other plugin?)
The last thing I'm missing is included pages: converting ![[x]] to --8<-- "x.md"
So it can be used with
markdown_extensions:
Would that be a big thing to add as you have already the right logic in there to resolve the correct documents?
Regards
Petr
Beta Was this translation helpful? Give feedback.
All reactions