Div breaks continued list #10924
-
Bug descriptionIf a list item contains a div-element followed by a text, the latter text is not indented. Steps to reproduce---
title: "test"
format: html
---
* We can see then
:::{.divname}
$$
a+b=c
$$
:::
as requested.
* Consider now...
Expected behaviorI'd like to have "as requested" aligned with "We can see". Without div-block it works, even with Latex-formula, i.e. * We can see then
$$
a+b=c
$$
as requested.
* Consider now... works as expected. Actual behaviorThe text after div ("as requested") is not indented. Moreover, it is recognised as a quote I believe. Your environmentNo response Quarto check outputQuarto 1.5.57 [>] Checking tools....................OK [>] Checking LaTeX....................OK [>] Checking basic markdown render....OK [>] Checking Python 3 installation....(None)
[>] Checking R installation...........OK [>] Checking Knitr engine render......OK |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
There is no bug. Since you are using empty lines, it means you want a list that is not "compact". ---
title: "test"
format: html
---
* We can see then
::: {.divname}
$$
a+b=c
$$
:::
as requested.
* Consider now... In the future, please open a GitHub Discussion rather than a GitHub Issue. (I "converted" it to one) |
Beta Was this translation helpful? Give feedback.
-
I probably was not clear, after I removed spaces around `=` in
`key="inline"`, the problem was resolved.
…On Mon, Sep 30, 2024, 07:45 Mickaël Canouil ***@***.***> wrote:
Could you give the link?
Regarding the spaces around equal signs, that's a Pandoc limitation which
Quarto might alleviate in the future.
—
Reply to this email directly, view it on GitHub
<#10924 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AILMWMPNDTG46GAQRJ226EDZZDXQFAVCNFSM6AAAAABPCCQU2CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZZGQYDOMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
There is no bug.
You did not align the sub-elements as documented (see second example in https://quarto.org/docs/authoring/markdown-basics.html#lists).
Since you are using empty lines, it means you want a list that is not "compact".
Aligned, means aligned, i.e.:
In the future, please open a GitHub Discussion rather than a GitHub Issue. (I "converted" it to one)