Until v1.2.0, remark-custom-container
only handle single-line element as a container child, since it relies on naive regular expression.
Now it supports multiple elements as children of container directives.
example
::: info sample title
Container children
Container children
<details>
<summary>HTML tag works too</summary>
<p>:tada:</p>
</details>
:::
will be rendered as follows:
sample title
Container children Container children
HTML tag works too
🎉
Comments