-
Notifications
You must be signed in to change notification settings - Fork 19
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
admonition text-wrap failure in version 2.4.2 #242
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
Hi, could you share the source for your bug report? It looks like your content is being embedded in the admonition as a code-block, so it's not being wrapped. |
the source:
for testing, please remove backslash. |
lesson17.ipynb.zip |
Admonition contents must not be indented unless you wish for them to be parsed as code-blocks :), i.e. ``` {note}
plotly 中的轴类型有 linear(默认), log, date, category 和 multicategory。如果我们没有指定轴类型,plotly 会按以下顺序猜测轴类型:multicategory(只有数据本身是嵌套数组时)、date 或者 category(在我们最初的例子,会被优先判定为 date 型,从而终推断),如果还不能决定,将使用 linear。
``` P.s., you can nested fenced blocks like admonitions by ensuring the number of backticks increases from inside-to-out, e.g. ````note
This contains a figure!
```figure foo.png
```
```` |
Description
tested in version 2.4.2, admonition failed to wrap extra-length lines:
this works in version 2.3.1, 2.3.2 (no test beyond version 2.3.2)
Proposed solution
text in admonition should wrap up.
Additional notes
seems admonition text was rendered as code.
The text was updated successfully, but these errors were encountered: