Nothing Special   »   [go: up one dir, main page]

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

markdown-it-container 中对最后一个 p 使用 markdown-it-attrs 语法,会导致属性被应用到父元素或被丢弃 #225

Open
maquedexiju opened this issue Mar 27, 2019 · 1 comment

Comments

@maquedexiju
Copy link

如标题,当我尝试如下表述时

:::flexblock {.activity}

Purpose

Get the manufactories interested in the solution, and let them develope products using it{.summary}

:::

会被解释为

:::flexblock {.activity.summary}

Purpose

Get the manufactories interested in the solution, and let them develope products using it

:::

这个问题是否是可以设计的?能否做一定修改?

@maquedexiju maquedexiju changed the title 添加在 flexblock 中 p 元素的属性,会被直接应用到 flexblock 的 ul 上 markdown-it-container 中对最后一个 p 使用 markdown-it-attrs 语法,会导致属性被应用到父元素或被丢弃 Mar 27, 2019
@maquedexiju
Copy link
Author
:::div {.test}

Purpose{.title}

Purpose{.summary}

Get the manufactories interested in the solution, and let them develope products using it{.summary}

:::

最后一个 {.summary} 也会被忽略

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

1 participant