public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* bulleted list inside definition when converting from markdown to html
@ 2023-11-12 16:38 A A
       [not found] ` <CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: A A @ 2023-11-12 16:38 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

Is it possible to have a bulleted list inside a definition when converting
to HTML? I tried converting the following:

Term 1
: definition with bulleted list
  - item 1
  - item 2

But got the following result:

<dl>
<dt>Term 1</dt>
<dd>
definition with bulleted list - item 1 - item 2
</dd>
</dl>

Am I doing something wrong here? Or is this just not possible in the
current implementation? Perhaps there are some nifty workarounds?

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 3439 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bulleted list inside definition when converting from markdown to html
       [not found] ` <CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-11-12 16:51   ` John MacFarlane
       [not found]     ` <CCC2F53E-2C33-411A-B996-BD33073A40F5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2023-11-12 16:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/html, Size: 4579 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bulleted list inside definition when converting from markdown to html
       [not found]     ` <CCC2F53E-2C33-411A-B996-BD33073A40F5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-11-12 16:56       ` A A
  2023-11-12 16:57       ` 'William Lupton' via pandoc-discuss
  1 sibling, 0 replies; 5+ messages in thread
From: A A @ 2023-11-12 16:56 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2434 bytes --]

That worked. Thanks.

On Sun, 12 Nov 2023 at 17:51, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:

> Put a blank line before the bullet list and make sure it’s indented 4
> spaces.
>
> On Nov 12, 2023, at 8:38 AM, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> 
>
> Is it possible to have a bulleted list inside a definition when converting
> to HTML? I tried converting the following:
>
> Term 1
> : definition with bulleted list
>   - item 1
>   - item 2
>
> But got the following result:
>
> <dl>
> <dt>Term 1</dt>
> <dd>
> definition with bulleted list - item 1 - item 2
> </dd>
> </dl>
>
> Am I doing something wrong here? Or is this just not possible in the
> current implementation? Perhaps there are some nifty workarounds?
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/CCC2F53E-2C33-411A-B996-BD33073A40F5%40gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CCC2F53E-2C33-411A-B996-BD33073A40F5%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgPBr90eXBb04AMKFrUaw-4n1ALj_2%2BoEH0DA-3r7qHAfQ%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 5491 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bulleted list inside definition when converting from markdown to html
       [not found]     ` <CCC2F53E-2C33-411A-B996-BD33073A40F5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2023-11-12 16:56       ` A A
@ 2023-11-12 16:57       ` 'William Lupton' via pandoc-discuss
       [not found]         ` <CAEe_xxjKG2MuaOREUcVdM-KC7-9kCjGCRh19+O=rvFkhf55QFQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: 'William Lupton' via pandoc-discuss @ 2023-11-12 16:57 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3123 bytes --]

the blank line isn't needed for commonmark, but i don't believe that the
pandoc manual mentions this?

should i create an issue to add a note to the manual ... or to suggest that
this behavior be controlled by an extension?

https://try.pandoc.org/?params=%7B%22text%22%3A%22Term+1%5Cn%3A+definition+with+bulleted+list%5Cn++-+item+1%5Cn++-+item+2%22%2C%22to%22%3A%22html%22%2C%22from%22%3A%22commonmark%22%2C%22standalone%22%3Afalse%2C%22embed-resources%22%3Afalse%2C%22table-of-contents%22%3Afalse%2C%22number-sections%22%3Afalse%2C%22citeproc%22%3Afalse%2C%22html-math-method%22%3A%22plain%22%2C%22wrap%22%3A%22auto%22%2C%22highlight-style%22%3Anull%2C%22files%22%3A%7B%7D%2C%22template%22%3Anull%7D

On Sun, 12 Nov 2023 at 16:51, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:

> Put a blank line before the bullet list and make sure it’s indented 4
> spaces.
>
> On Nov 12, 2023, at 8:38 AM, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> 
>
> Is it possible to have a bulleted list inside a definition when converting
> to HTML? I tried converting the following:
>
> Term 1
> : definition with bulleted list
>   - item 1
>   - item 2
>
> But got the following result:
>
> <dl>
> <dt>Term 1</dt>
> <dd>
> definition with bulleted list - item 1 - item 2
> </dd>
> </dl>
>
> Am I doing something wrong here? Or is this just not possible in the
> current implementation? Perhaps there are some nifty workarounds?
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/CCC2F53E-2C33-411A-B996-BD33073A40F5%40gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CCC2F53E-2C33-411A-B996-BD33073A40F5%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxjKG2MuaOREUcVdM-KC7-9kCjGCRh19%2BO%3DrvFkhf55QFQ%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 6748 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bulleted list inside definition when converting from markdown to html
       [not found]         ` <CAEe_xxjKG2MuaOREUcVdM-KC7-9kCjGCRh19+O=rvFkhf55QFQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-11-13 10:03           ` 'William Lupton' via pandoc-discuss
  0 siblings, 0 replies; 5+ messages in thread
From: 'William Lupton' via pandoc-discuss @ 2023-11-13 10:03 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3355 bytes --]

https://github.com/jgm/pandoc/issues/9181

On Sun, 12 Nov 2023 at 16:57, William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org>
wrote:

> the blank line isn't needed for commonmark, but i don't believe that the
> pandoc manual mentions this?
>
> should i create an issue to add a note to the manual ... or to suggest
> that this behavior be controlled by an extension?
>
>
> https://try.pandoc.org/?params=%7B%22text%22%3A%22Term+1%5Cn%3A+definition+with+bulleted+list%5Cn++-+item+1%5Cn++-+item+2%22%2C%22to%22%3A%22html%22%2C%22from%22%3A%22commonmark%22%2C%22standalone%22%3Afalse%2C%22embed-resources%22%3Afalse%2C%22table-of-contents%22%3Afalse%2C%22number-sections%22%3Afalse%2C%22citeproc%22%3Afalse%2C%22html-math-method%22%3A%22plain%22%2C%22wrap%22%3A%22auto%22%2C%22highlight-style%22%3Anull%2C%22files%22%3A%7B%7D%2C%22template%22%3Anull%7D
>
> On Sun, 12 Nov 2023 at 16:51, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> wrote:
>
>> Put a blank line before the bullet list and make sure it’s indented 4
>> spaces.
>>
>> On Nov 12, 2023, at 8:38 AM, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>> 
>>
>> Is it possible to have a bulleted list inside a definition when
>> converting to HTML? I tried converting the following:
>>
>> Term 1
>> : definition with bulleted list
>>   - item 1
>>   - item 2
>>
>> But got the following result:
>>
>> <dl>
>> <dt>Term 1</dt>
>> <dd>
>> definition with bulleted list - item 1 - item 2
>> </dd>
>> </dl>
>>
>> Am I doing something wrong here? Or is this just not possible in the
>> current implementation? Perhaps there are some nifty workarounds?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/CCC2F53E-2C33-411A-B996-BD33073A40F5%40gmail.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/CCC2F53E-2C33-411A-B996-BD33073A40F5%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxhP2__PLHc%3DoSw_RV%2BWiw1xF5b_HStSQDa-0QNQJLfbWg%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 7253 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-13 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-12 16:38 bulleted list inside definition when converting from markdown to html A A
     [not found] ` <CAMwawgOPQDA_VdwT4Ed4dKx-Sxsr3_5GGf-cT07Bt5U_ozA-bw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-12 16:51   ` John MacFarlane
     [not found]     ` <CCC2F53E-2C33-411A-B996-BD33073A40F5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-11-12 16:56       ` A A
2023-11-12 16:57       ` 'William Lupton' via pandoc-discuss
     [not found]         ` <CAEe_xxjKG2MuaOREUcVdM-KC7-9kCjGCRh19+O=rvFkhf55QFQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-13 10:03           ` 'William Lupton' via pandoc-discuss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).