-
Hi! For example :
--8<-- "/page2.md"
issue#23456
issue#12345 I got the following result :
issue#12345
<a href="...">#23456</a>
<a href="...">#13245</a> I know It seems logical since I'm including the I am using the Thanks in advance 😊 ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Keep in mind that Pymdown Extensions is a Python Markdown extension, not a MkDocs extension. If you are processing the content before Markdown parsing is applied, then you will not have the snippet content passed to MkDocs. During Markdown parsing is when Snippets retrieves the file and inserts it into the Markdown content. |
Beta Was this translation helpful? Give feedback.
I finally managed to achieve what I wanted, but at a cost (I think the idea is quite ugly, and it could have been better coded, but it's rarely used...).
This allows me to embed documentation pages within other documentation pages to centralize and avoid duplicating information, while still having the option to apply other 🪝hooks to them and then wrote them in markdown:
(Sorry, most of the comments in the hook are in french)
snipp3t
hook