* Markdown subitems fail
@ 2012-05-10 18:56 Marco
2012-05-10 20:06 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Marco @ 2012-05-10 18:56 UTC (permalink / raw)
To: ntg-context
Subitems in markdown behave buggy. Example:
\usemodule [markdown]
\starttext
\startmarkdown
- Some item
- Another item
- Subitem one
- Subitem two
\stopmarkdown
\stoptext
Result:
• Some item
• Another item
startmarkdownitemize[packed]
startitem Subitem one stopitem stopmarkdownitemize
Using pandoc works fine. I assume the markdown module uses a custom
lua parser internally.
Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Markdown subitems fail
2012-05-10 18:56 Markdown subitems fail Marco
@ 2012-05-10 20:06 ` Hans Hagen
2012-05-11 10:43 ` Marco
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-05-10 20:06 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Marco
On 10-5-2012 20:56, Marco wrote:
> Subitems in markdown behave buggy. Example:
>
> \usemodule [markdown]
> \starttext
> \startmarkdown
> - Some item
> - Another item
> - Subitem one
> - Subitem two
> \stopmarkdown
> \stoptext
>
> Result:
>
> • Some item
> • Another item
> startmarkdownitemize[packed]
> startitem Subitem one stopitem stopmarkdownitemize
>
> Using pandoc works fine. I assume the markdown module uses a custom
> lua parser internally.
indeed, and I need to update it (some ay)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-11 10:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-10 18:56 Markdown subitems fail Marco
2012-05-10 20:06 ` Hans Hagen
2012-05-11 10:43 ` Marco
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).