In a new directory, create mkdocs.yml with the following content
site_name: Mkdocs CaptionStrip
In the same directory, create docs/index.md with following content
# Caption Visibility Test
<caption style="display:none">you should not see this - caption</caption>
<cite style="display:none">you should not see this - cite</cite>
In the directory, run mkdocs serve and open localhost:8000
Expected behaviour
Both captions are invisible (due to css styling)
Actual behaviour
Only second caption (cite tag) is invisible.
mkdocs version
1.5.2 /Python 3.10
Why is this an issue
I want to hide
tags in a converted markdown file as the images for the caption are not available yet.
Steps to reproduce
In a new directory, create
mkdocs.yml
with the following contentsite_name: Mkdocs CaptionStrip
In the same directory, create
docs/index.md
with following contentIn the directory, run
mkdocs serve
and openlocalhost:8000
Expected behaviour
Both captions are invisible (due to css styling)
Actual behaviour
Only second caption (cite tag) is invisible.
mkdocs version
1.5.2 /Python 3.10
Why is this an issue
I want to hide