You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a pretty funny one. I was using a Markdown Include as described in your docs. I already had used one earlier in the file and worked perfectly, but strange enough, this didn't show up. This was the part that was failing:
<!--@include: ../shared/servicios/recordatorios-nginx.md -->## Integración con Authentik
The fact that it is followed by a header is pretty important
And that's what showed up, just not the Markdown that should be included. To check if the path or something was wrong, I copied the earlier one that was working just below this one, like this:
<!--@include: ../shared/servicios/recordatorios-nginx.md --><!--@include: ../shared/servicios/puertos.md -->## Integración con Authentik
And funny enough, it worked. Note that again, I have the header below too. So I went to remove the test purpose second include and, surprise! The Markdown that should be included disappeared again (as in the first picture). By pure chance, I uncommented the line and saw it worked, so I tried to just write some random text below the _include, to be precise this random text:
<!--@include: ../shared/servicios/recordatorios-nginx.md -->
nice
## Integración con Authentik
And it showed up again! Things are getting pretty odd at this point, so I went a bit further and tested to put the test text below the header, like this:
<!--@include: ../shared/servicios/recordatorios-nginx.md -->## Integración con Authentik
nice
It worked! At this point I'm pretty freaked out so I try one last thing, putting the included Markdown at the end of the file, and it works again!
So, I ended up concluding that Markdown include does not work directly above a heading for some reason I cannot include.
But hey, it doesn't end here. The Markdown file that was being included was like the following:
::: tip A nice title
Just some pretty nice text
:::
But, if I add a text line or a header below, it doesn't show up. For example, this wouldn't show up:
::: tip A nice title
Just some pretty nice text
:::
nice paragraph
## Nice heading
And well, placing the text above the tip block doesn't fix it either, or even removing the tip block and putting just text.
There's a chance it really is just me not knowing how to use the Markdown Include, if so I'm really sorry for the noise.
Reproduction
I included examples above, but anywhay:
Create a Markdown file with a custom container
Include it in other and write a header below
See how it doesn't work and put text below or remove the header
See how now it works and add text in the included Markdown file above or below the container
I've been doing some more testing, and I believe it must be a problem with the dev server. The server seems not to be picking up the changes of the included Markdown files, not even on page reload. If I restart the server, all the problems I mention above dissapear.
Describe the bug
This is a pretty funny one. I was using a Markdown Include as described in your docs. I already had used one earlier in the file and worked perfectly, but strange enough, this didn't show up. This was the part that was failing:
The fact that it is followed by a header is pretty important
And that's what showed up, just not the Markdown that should be included. To check if the path or something was wrong, I copied the earlier one that was working just below this one, like this:
And funny enough, it worked. Note that again, I have the header below too. So I went to remove the test purpose second include and, surprise! The Markdown that should be included disappeared again (as in the first picture). By pure chance, I uncommented the line and saw it worked, so I tried to just write some random text below the _include, to be precise this random text:
And it showed up again! Things are getting pretty odd at this point, so I went a bit further and tested to put the test text below the header, like this:
It worked! At this point I'm pretty freaked out so I try one last thing, putting the included Markdown at the end of the file, and it works again!
So, I ended up concluding that Markdown include does not work directly above a heading for some reason I cannot include.
But hey, it doesn't end here. The Markdown file that was being included was like the following:
But, if I add a text line or a header below, it doesn't show up. For example, this wouldn't show up:
::: tip A nice title Just some pretty nice text ::: nice paragraph ## Nice heading
And well, placing the text above the tip block doesn't fix it either, or even removing the tip block and putting just text.
Reproduction
I included examples above, but anywhay:
Expected behavior
Well, just show up correcetly I guess
System Info
Additional context
BTW I tested on Brave
Validations
The text was updated successfully, but these errors were encountered: