Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant