public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: "Christian Müller" <ch_819-S0/GAf8tV78@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: general attributes and yaml metadata block
Date: Fri, 21 Aug 2020 13:51:13 -0700	[thread overview]
Message-ID: <m2h7svafjy.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <a0460a16-04eb-4ff8-8159-4a22138967b7o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


You're doing it right -- but currently no format supports
both yaml metadata and attributes.

When we add suppport for yaml metadata blocks to commonmark,
you'll be able to use that.

Christian Müller <ch_819-S0/GAf8tV78@public.gmane.org> writes:

> I would like to use attributes like the following
>
> *something*{.timing}
>
> which should render to
>
> <em class="timing">something</em> or alternatively <span 
> class="timing"><em>something</em></span>
>
> According to documentation I need the attributes extension. When I do --from=markdown+attributes 
> I get
>
> The extension attributes is not supported for markdown
>
> When I try commonmark --from=commonmark+attributes instead it does work. 
> However, I also need the Yaml meta data block. --from=commonmark+attributes+yaml_metadata_block 
> yields
>
> The extension yaml_metadata_block is not supported for commonmark
>
> Am I doing something wrong? I'd rather stay with markdown (it's an older 
> document)
>
> (using the official pandoc build for windows)
>
> pandoc.exe 2.10.1
> Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5
>
> -- 
> 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/a0460a16-04eb-4ff8-8159-4a22138967b7o%40googlegroups.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/m2h7svafjy.fsf%40johnmacfarlane.net.


  parent reply	other threads:[~2020-08-21 20:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 12:07 Christian Müller
     [not found] ` <a0460a16-04eb-4ff8-8159-4a22138967b7o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-21 20:51   ` John MacFarlane [this message]
     [not found]     ` <m2h7svafjy.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-22  8:34       ` ch_...-S0/GAf8tV78@public.gmane.org
     [not found]         ` <b88f4db2-e711-41b5-8223-87f90447753fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-22 10:41           ` mb21
2020-08-22 16:08           ` John MacFarlane
     [not found]             ` <m24kou8xzd.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-22 16:52               ` BPJ
     [not found]                 ` <CADAJKhAofn83Rb6P1k7eqoYEwXrKsyH7e0mJ+AJFKVe8XDnehw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-22 18:07                   ` John MacFarlane
     [not found]                     ` <m2v9ha7dwo.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-24  9:59                       ` BPJ
     [not found]                         ` <CADAJKhA_NN8XUq8GXUJn4ObasyRQrw5inXgtatWvwRPOcSmzoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-24 16:56                           ` John MacFarlane
     [not found]                             ` <m2o8n0x9s8.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-24 17:50                               ` BPJ

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=m2h7svafjy.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=ch_819-S0/GAf8tV78@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).