From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25962 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mb21 Newsgroups: gmane.text.pandoc Subject: Re: general attributes and yaml metadata block Date: Sat, 22 Aug 2020 03:41:09 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_670_918323275.1598092869292" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35783"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDCMBBVJ5EFBBRXMQP5AKGQEIAY6QYI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 22 12:41:14 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f190.google.com ([209.85.167.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9QxV-0009CG-T1 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 22 Aug 2020 12:41:13 +0200 Original-Received: by mail-oi1-f190.google.com with SMTP id a19sf1722462oic.7 for ; Sat, 22 Aug 2020 03:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=7I242RmVMXGSbgPTDgtuCf6PfAyAzhchpivHDyT+vcU=; b=Lo6BIjq4MBHMIg+menYCIwivILZsl/STiAx8IS+bh7qmlpq1X9ruPp7obxuomUljmt 8c6TN+/+8I5ZxZavQfh8nvon0PE6g4zZ9E5f7vXb5dZCzjrEjEYPEjNJbl8IVYGBfKGY Oip/A23TmLUsZq8TwIQ/nSTiw7EUudkUN//x0qRECuNDcvlv+n/ueWpyPsMS9bb5W5v4 DQSgd/LhWdxzyZrPWFY5bxc0E0nQ8zu/GbbKvyQPWS/HZ1TSfsOtx68438JAf6Kv7lXe DgJFPYijyiyVOw7BbjhzHd3rw/ekfdQOCvDim5rnVxllcGKbWMDYEaAh94P2hOExS5Bn TRtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=7I242RmVMXGSbgPTDgtuCf6PfAyAzhchpivHDyT+vcU=; b=MNLc0wNsy5geb831Cas3XCSx0XNSVxh+JNdP0oRQG2qW9RpHx86fA9dXncrmc+fbIZ IYm9ZfWOAgBwyK1Ez/0M6J/c+fj7+HkbU4b/iGoFVA8CtQ1di9rkwOyNvF/c5cyP5rEw QC2nmFtu9iGHwFMn6ponYXTyuiz4dl0Y4EW+giemVHq63iS3Zxn2bfwtKO2NCNvJOYmd vqomzlCEd1LeHFfuoZb8xv8tfLZzaNxdWGVWzDkQUXrNvCF2Z6OhVDrUPG0Zy/cNkxBK PgtKtKNsc/+t0yW/Atsmz6f75SKYzn6nc9+npqJIL0xECOb/EQXl9klckiuhsWyt97RT BmXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=7I242RmVMXGSbgPTDgtuCf6PfAyAzhchpivHDyT+vcU=; b=PjdUSeFvy89uomhs1VVMuu+3uGxwiIXg6FGhrSZ+aCIa6jLdnjbV8y/T1y6CIAM1D0 I+t9C50gFPHZVgJ//zFeLo/blMDsrLPFFttfjNdX+bZX+l4sPDqNZBoiicvjZOsTuW1p rvfFPcbrdHBWL/3RLQBG3sCbZMYI36OLu+63srAFo0lrRT+hEb8TQeXsgAGzwVR51ndV N7VgaIiOGW05oPJn0tjQaQGh5FhOKYf0HANfhemduuv4hLjgPXeFTqpip8yeNu4rAXIV OtQ/NifmYowWIcG7ZOPUy1cZ79zaWxOMZ1nSu648SU98L02dOSMFv454a58UDGlYEun6 z7tQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530VgkidgF02umBiLI0jUoMGsJSUPcao9KFDVcOmF/s9sHOHaf7d OCDWePVTij0SrNr+atn0Uqs= X-Google-Smtp-Source: ABdhPJzPXpkHH58ntM65Kdst70MO7MK84WOv+dguR+S21mhEwN7Zkx7+L7uQpu6EvcTadK8I1qc8cQ== X-Received: by 2002:aca:eb88:: with SMTP id j130mr4577291oih.38.1598092872954; Sat, 22 Aug 2020 03:41:12 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:42c5:: with SMTP id p188ls981285oia.3.gmail; Sat, 22 Aug 2020 03:41:10 -0700 (PDT) X-Received: by 2002:aca:eb88:: with SMTP id j130mr4577210oih.38.1598092870113; Sat, 22 Aug 2020 03:41:10 -0700 (PDT) In-Reply-To: X-Original-Sender: mauro.bieg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:25962 Archived-At: ------=_Part_670_918323275.1598092869292 Content-Type: multipart/alternative; boundary="----=_Part_671_1552518504.1598092869292" ------=_Part_671_1552518504.1598092869292 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable header_attributes, link_attributes and a few more (div, span etc) are=20 supported on normal markdown. but currently not on the emphasis element. On Saturday, August 22, 2020 at 10:34:19 AM UTC+2 ch_...-S0/GAf8tV78@public.gmane.org wrote: > why aren't attributes supported in "normal" markdown? > > John MacFarlane schrieb am Freitag, 21. August 2020 um 22:51:31 UTC+2: > >> >> You're doing it right -- but currently no format supports=20 >> both yaml metadata and attributes.=20 >> >> When we add suppport for yaml metadata blocks to commonmark,=20 >> you'll be able to use that.=20 >> >> Christian M=C3=BCller writes:=20 >> >> > I would like to use attributes like the following=20 >> >=20 >> > *something*{.timing}=20 >> >=20 >> > which should render to=20 >> >=20 >> > something or alternatively > > class=3D"timing">something=20 >> >=20 >> > According to documentation I need the attributes extension. When I do= =20 >> --from=3Dmarkdown+attributes=20 >> > I get=20 >> >=20 >> > The extension attributes is not supported for markdown=20 >> >=20 >> > When I try commonmark --from=3Dcommonmark+attributes instead it does= =20 >> work.=20 >> > However, I also need the Yaml meta data block.=20 >> --from=3Dcommonmark+attributes+yaml_metadata_block=20 >> > yields=20 >> >=20 >> > The extension yaml_metadata_block is not supported for commonmark=20 >> >=20 >> > Am I doing something wrong? I'd rather stay with markdown (it's an=20 >> older=20 >> > document)=20 >> >=20 >> > (using the official pandoc build for windows)=20 >> >=20 >> > pandoc.exe 2.10.1=20 >> > Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5= =20 >> >=20 >> > --=20 >> > You received this message because you are subscribed to the Google=20 >> Groups "pandoc-discuss" group.=20 >> > To unsubscribe from this group and stop receiving emails from it, send= =20 >> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 >> > To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/a0460a16-04eb-4ff8-8159= -4a22138967b7o%40googlegroups.com.=20 >> >> > --=20 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 e= mail 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/cdbe0b73-b196-48a5-abc2-cac65a08304fn%40googlegroups.com. ------=_Part_671_1552518504.1598092869292 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable header_attributes, link_attributes and a few more (div, span etc) are suppo= rted on normal markdown. but currently not on the emphasis element.

=
On Saturd= ay, August 22, 2020 at 10:34:19 AM UTC+2 ch_...-S0/GAf8tV78@public.gmane.org wrote:
why aren't attributes = supported in "normal" markdown?

John MacFarlane schrieb am Freitag,= 21. August 2020 um 22:51:31 UTC+2:

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=C3=BCller <ch_...-S0/GAf8tV78@public.gmane.org> wri= tes:

> I would like to use attributes like the following
>
> *something*{.timing}
>
> which should render to
>
> <em class=3D"timing">something</em> or alter= natively <span=20
> class=3D"timing"><em>something</em></s= pan>
>
> According to documentation I need the attributes extension. When I= do --from=3Dmarkdown+attributes=20
> I get
>
> The extension attributes is not supported for markdown
>
> When I try commonmark --from=3Dcommonmark+attributes instead it do= es work.=20
> However, I also need the Yaml meta data block. --from=3Dcommonmark= +attributes+yaml_metadata_block=20
> yields
>
> The extension yaml_metadata_block is not supported for commonmark
>
> Am I doing something wrong? I'd rather stay with markdown (it&= #39;s an older=20
> 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
>
> --=20
> 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a046= 0a16-04eb-4ff8-8159-4a22138967b7o%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/cdbe0b73-b196-48a5-abc2-cac65a08304fn%40googlegroups.= com.
------=_Part_671_1552518504.1598092869292-- ------=_Part_670_918323275.1598092869292--