* general attributes and yaml metadata block @ 2020-08-18 12:07 Christian Müller [not found] ` <a0460a16-04eb-4ff8-8159-4a22138967b7o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Christian Müller @ 2020-08-18 12:07 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --] 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. [-- Attachment #1.2: Type: text/html, Size: 5514 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <a0460a16-04eb-4ff8-8159-4a22138967b7o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: general attributes and yaml metadata block [not found] ` <a0460a16-04eb-4ff8-8159-4a22138967b7o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2020-08-21 20:51 ` John MacFarlane [not found] ` <m2h7svafjy.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: John MacFarlane @ 2020-08-21 20:51 UTC (permalink / raw) To: Christian Müller, pandoc-discuss 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. ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <m2h7svafjy.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>]
* Re: general attributes and yaml metadata block [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> 0 siblings, 1 reply; 10+ messages in thread From: ch_...-S0/GAf8tV78@public.gmane.org @ 2020-08-22 8:34 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2220 bytes --] 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üller <ch_...-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-discus...-/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/b88f4db2-e711-41b5-8223-87f90447753fn%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 3399 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <b88f4db2-e711-41b5-8223-87f90447753fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: general attributes and yaml metadata block [not found] ` <b88f4db2-e711-41b5-8223-87f90447753fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2020-08-22 10:41 ` mb21 2020-08-22 16:08 ` John MacFarlane 1 sibling, 0 replies; 10+ messages in thread From: mb21 @ 2020-08-22 10:41 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2561 bytes --] header_attributes, link_attributes and a few more (div, span etc) are 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 >> 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_...-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-discus...-/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/cdbe0b73-b196-48a5-abc2-cac65a08304fn%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 3858 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: general attributes and yaml metadata block [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> 1 sibling, 1 reply; 10+ messages in thread From: John MacFarlane @ 2020-08-22 16:08 UTC (permalink / raw) To: ch_...@web.de, pandoc-discuss "ch_...-S0/GAf8tV78@public.gmane.org" <ch_819-S0/GAf8tV78@public.gmane.org> writes: > why aren't attributes supported in "normal" markdown? Eventually they will be, when I've added enough extensions to the commonmark parser that it can replace the current markdown parser. ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <m24kou8xzd.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>]
* Re: general attributes and yaml metadata block [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> 0 siblings, 1 reply; 10+ messages in thread From: BPJ @ 2020-08-22 16:52 UTC (permalink / raw) To: pandoc-discuss; +Cc: ch_...-S0/GAf8tV78@public.gmane.org [-- Attachment #1: Type: text/plain, Size: 1374 bytes --] Den lör 22 aug. 2020 18:09John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev: > "ch_...-S0/GAf8tV78@public.gmane.org" <ch_819-S0/GAf8tV78@public.gmane.org> writes: > > > why aren't attributes supported in "normal" markdown? > > Eventually they will be, when I've added enough extensions > to the commonmark parser that it can replace the current > markdown parser. > Does that mean that you will drop some extensions? I hope not. Probably every extension is essential to someone's workflow. > -- > 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/m24kou8xzd.fsf%40johnmacfarlane.net > . > -- 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/CADAJKhAofn83Rb6P1k7eqoYEwXrKsyH7e0mJ%2BAJFKVe8XDnehw%40mail.gmail.com. [-- Attachment #2: Type: text/html, Size: 2695 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <CADAJKhAofn83Rb6P1k7eqoYEwXrKsyH7e0mJ+AJFKVe8XDnehw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: general attributes and yaml metadata block [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> 0 siblings, 1 reply; 10+ messages in thread From: John MacFarlane @ 2020-08-22 18:07 UTC (permalink / raw) To: BPJ, pandoc-discuss; +Cc: ch_...@web.de BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: >> Eventually they will be, when I've added enough extensions >> to the commonmark parser that it can replace the current >> markdown parser. >> > > Does that mean that you will drop some extensions? I hope not. Probably > every extension is essential to someone's workflow. The idea would be to support most of them. There may be a few uncommonly used ones that we'd consider dropping (in particular, extensions that are incompatible with the core commonmark spec). In any case, we'd keep the legacy parser available as an option for a while, to ease the transition. ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <m2v9ha7dwo.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>]
* Re: general attributes and yaml metadata block [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> 0 siblings, 1 reply; 10+ messages in thread From: BPJ @ 2020-08-24 9:59 UTC (permalink / raw) Cc: pandoc-discuss [-- Attachment #1: Type: text/plain, Size: 1521 bytes --] Den lör 22 aug. 2020 20:07John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev: > BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > > >> Eventually they will be, when I've added enough extensions > >> to the commonmark parser that it can replace the current > >> markdown parser. > >> > > > > Does that mean that you will drop some extensions? I hope not. Probably > > every extension is essential to someone's workflow. > > The idea would be to support most of them. There may be a few > uncommonly used ones that we'd consider dropping (in particular, > extensions that are incompatible with the core commonmark spec). > In any case, we'd keep the legacy parser available as an option > for a while, to ease the transition. > Do you have any particular ones in mind. I guess that at the moment I'm most afraid of losing `four_space_rule` since it is so to speak a compatibility extension. OTOH maybe if I consistently use steps of 4 in my source (which I already do, e.g. 3 spaces after a list bullet) I won't notice much difference. -- 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/CADAJKhA_NN8XUq8GXUJn4ObasyRQrw5inXgtatWvwRPOcSmzoQ%40mail.gmail.com. [-- Attachment #2: Type: text/html, Size: 2522 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <CADAJKhA_NN8XUq8GXUJn4ObasyRQrw5inXgtatWvwRPOcSmzoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: general attributes and yaml metadata block [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> 0 siblings, 1 reply; 10+ messages in thread From: John MacFarlane @ 2020-08-24 16:56 UTC (permalink / raw) To: BPJ; +Cc: pandoc-discuss > Do you have any particular ones in mind. I guess that at the moment I'm > most afraid of losing `four_space_rule` since it is so to speak a > compatibility extension. OTOH maybe if I consistently use steps of 4 in my > source (which I already do, e.g. 3 spaces after a list bullet) I won't > notice much difference. I think that's right, except in unusual cases (e.g., list numbers greater than two digits). 999. hello four-space rule says that content starts here 999. hello commonmark says it starts here. ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <m2o8n0x9s8.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>]
* Re: general attributes and yaml metadata block [not found] ` <m2o8n0x9s8.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> @ 2020-08-24 17:50 ` BPJ 0 siblings, 0 replies; 10+ messages in thread From: BPJ @ 2020-08-24 17:50 UTC (permalink / raw) To: John MacFarlane; +Cc: pandoc-discuss [-- Attachment #1: Type: text/plain, Size: 1258 bytes --] Den mån 24 aug. 2020 18:56John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev: > > > Do you have any particular ones in mind. I guess that at the moment I'm > > most afraid of losing `four_space_rule` since it is so to speak a > > compatibility extension. OTOH maybe if I consistently use steps of 4 in > my > > source (which I already do, e.g. 3 spaces after a list bullet) I won't > > notice much difference. > > I think that's right, except in unusual cases (e.g., list numbers > greater than two digits). > > 999. hello > four-space rule says that content starts here > > 999. hello > commonmark says it starts here. > I'm afraid I will never get used to that! The four-space rule, or rather hitting tab, has become part of my muscle memory. I'm probably not the only one. -- 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/CADAJKhCYF3ZhaPzF5VWZKqygzfK3YqZn%3D-dZZZ-yneh6Y-qrpw%40mail.gmail.com. [-- Attachment #2: Type: text/html, Size: 2124 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-08-24 17:50 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-08-18 12:07 general attributes and yaml metadata block Christian Müller [not found] ` <a0460a16-04eb-4ff8-8159-4a22138967b7o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2020-08-21 20:51 ` John MacFarlane [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
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).