From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Preventing outer list items from being paras (when the inner list is styled)
Date: Fri, 20 Jan 2023 10:23:14 -0800 [thread overview]
Message-ID: <C1EE3492-6FB4-4D01-A33C-6A3600D804BF@gmail.com> (raw)
In-Reply-To: <CAEe_xxgwb=DDN-H1+F4SiCXf-cHfO5aPDk43B1zsQWEdeB1kOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
I don't think there's a way to do this without a filter.
> On Jan 20, 2023, at 2:10 AM, 'William Lupton' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
>
> Dear all,
>
> I want to style some outer and inner lists and ideally all the list items would be plain rather than paras. However, I can't see how to apply the inner style without a blank line, which forces the outer items to be paras. I know I can work around this via a lua filter or CSS but is it possible to do it directly?
>
> Please see this 'try pandoc' link. Here I'm using commonmark_x but I've also tried with regular markdown and fenced divs (with the same result).
>
> https://pandoc.org/try/?params=%7B%22text%22%3A%22%23+no+styles+%28all+items+are+plain%29%5Cn%5Cn*+a%5Cn++*+b%5Cn*+c%5Cn%5Cn%23+with+styles+%28outer+items+are+para%29%5Cn%5Cn%7B.outer-style%7D%5Cn*+a%5Cn%5Cn++%7B.inner-style%7D%5Cn++*+b%5Cn*+c%5Cn%5Cn%23+you+need+the+blank+line%5Cn%5Cn%7B.outer-style%7D%5Cn*+a%5Cn++%7B.inner-style%7D%5Cn++*+b%5Cn*+c%5Cn%22%2C%22to%22%3A%22html5%22%2C%22from%22%3A%22commonmark_x%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
>
> Thanks,
> William
>
> --
> 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_xxgwb%3DDDN-H1%2BF4SiCXf-cHfO5aPDk43B1zsQWEdeB1kOg%40mail.gmail.com.
--
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/C1EE3492-6FB4-4D01-A33C-6A3600D804BF%40gmail.com.
prev parent reply other threads:[~2023-01-20 18:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-20 10:10 'William Lupton' via pandoc-discuss
[not found] ` <CAEe_xxgwb=DDN-H1+F4SiCXf-cHfO5aPDk43B1zsQWEdeB1kOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-01-20 18:23 ` John MacFarlane [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C1EE3492-6FB4-4D01-A33C-6A3600D804BF@gmail.com \
--to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).