I have written a html code inside a markdown file in oxygen xml.
<code><div style="border: 2px solid black; padding: 20px; width: 300px; text-align: center; background-color: #f0f0f0;">
This is a box in a Markdown file.
</div>
</code>
<code><div style="border: 2px solid black; padding: 20px; width: 300px; text-align: center; background-color: #f0f0f0;">
This is a box in a Markdown file.
</div>
</code>
<div style="border: 2px solid black; padding: 20px; width: 300px; text-align: center; background-color: #f0f0f0;">
This is a box in a Markdown file.
</div>
In the above code only text is appearing and not the box.
I tried different ways using HTML code so that the box appears but still, it’s not coming. I want the box also to come.
The above code when I tried in VScode is running alright as both the text and box is appearing but when it’s converted to pdf the box is not appearing.
1