Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to nest with the same marker? #33

Closed
RobertBeekman opened this issue Nov 7, 2019 · 1 comment
Closed

How to nest with the same marker? #33

RobertBeekman opened this issue Nov 7, 2019 · 1 comment

Comments

@RobertBeekman
Copy link

Hi, this example given in #25 doesn't work because the markers are the same. Only left-col is placed inside the warning div.

::: warning
:::: left-col
::::
:::: middle
::::
:::: right
::::
:::

Results in:

<div class="warning">
    <div class="left-col"></div>
</div>
<div class="middle"></div>
<div class="right"></div>
<p>:::</p>

Is the only correct way to do this by giving left-col, midlde and right different markers? This makes for very messy markdown.

@puzrin
Copy link
Member

puzrin commented Nov 7, 2019

link

::::: warning
*here be dragons*
:::: warning
123
::::
:::::

Outer marker should be bigger. See CM spec for fenced blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants