Open otaj opened 5 years ago
If anyone looking for a workaround:
Wrap the contents inside of the details with <p markdown="block"></p>
, and remove markdown="1"
from the details and summary tags.
Example: For the first case given above, the input code below produces the correct output code:
<details>
<summary>Details</summary><p markdown="block">
<center markdown="1">
Centered text
</center>
</p></details>
Markdown seems to ignore block tag, if it is immediately following details/summary. On the other hand, it parses the content correctly, if first content after summary is markdown. Most likely related to #130
Incorrect case
Input
Output
Expected output
Correct case
Input
Output (which is correct)