I have markdown content inside HTML tag.
For example, the following:
<div markdown="1">
This is a *Markdown* Paragraph.
</div>
...is rendered as:
<div>
<p>This is a <em>Markdown</em> Paragraph.</p>
</div>
However, it breaks when there's trailing whitespace
For example, the following:
<div markdown = "1">
This is a *Markdown* Paragraph.
</div>
...is rendered as:
<div>
<p>= "1"></p>
<p>This is a <em>Markdown</em> Paragraph.</p>
</div>
Expected behavior:
Should be rendered as:
<div>
<p>This is a <em>Markdown</em> Paragraph.</p>
</div>
Context:
techdocs-cli --version 0.7.0
Note
This seems not to be a bug of mkdocs. If I run mkdocs:serve (version 1.2.2), I get the expected behaviour.
Only happens if I run techdocs-cli serve:mkdocs
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bug: Should remove trailing whitespace in HTML tags.
I have markdown content inside HTML tag. For example, the following:
...is rendered as:
However, it breaks when there's trailing whitespace
For example, the following:
...is rendered as:
Expected behavior:
Should be rendered as:
Context:
techdocs-cli --version 0.7.0
Note
This seems not to be a bug of mkdocs. If I run
mkdocs:serve
(version 1.2.2), I get the expected behaviour. Only happens if I runtechdocs-cli serve:mkdocs