public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Connor Patrick Jackson <cpjackson-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Markdown -> CommonMark extensions tracker
Date: Wed, 21 Jul 2021 11:09:13 -0700 (PDT)	[thread overview]
Message-ID: <d1d1e4ab-26c6-467b-9a61-40acdfc03aa8n@googlegroups.com> (raw)
In-Reply-To: <CADAJKhA3VdyosoGi+C_AjgK2hZLM+56ju8sHvd9yzMYqb=40QQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 5585 bytes --]

--list-extensions can only tell you an extension is not available, it does 
not tell you *why*. If I have a document I was previously compiling using 
Pandoc's markdown plus some extensions, and I wanted to know if I can use 
the commonmark(_x) reader instead, --list-extensions=commonmark cannot 
answer that question. I will see only that an extension does not exist. I 
would then need to delve into the commonmark spec to infer whether it has 
been incorporated into core commonmark and thus is already available, or if 
the extension has yet to be developed for commonmark (but will eventually) 
and thus I need to wait for a later version of pandoc to make the switch. 

Obviously, people could just wait until commonmark_x becomes the default, 
but it would be useful to have that information compiled in one place. 

On Wednesday, July 21, 2021 at 11:00:14 AM UTC-7 BP wrote:

> What would such a table/list achieve which is not already available, more 
> reliably since it is always up to date, with --list-extensions=FORMAT ?
>
> I guess one could write a script which takes a list of formats as input, 
> calls --list-extensions=FORMAT for each of them and assembles a pipe table 
> from the results. Providing such a script would arguably be more useful 
> than providing a static table which becomes out of date.
>
>
> Den ons 21 juli 2021 19:42Connor Patrick Jackson <cpja...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> 
> skrev:
>
>> re: not allowed by spec: Oh okay. I guess that only really makes sense 
>> for the handful of extensions that are allowed by commonmark but not by 
>> markdown, but that isn't really all that useful information. Are there any 
>> markdown extensions that, for whatever reason, will *never* be 
>> incorporated into commonmark, either within the spec or as an extension? 
>> That might be useful to know as well but there might not be any in that 
>> situation. 
>>
>> Perhaps more useful would just be a list for each of the latter two 
>> categories: 
>>
>> Former markdown packages that are permanently incorporated into the 
>> commonmark spec (this could be added to the manual rather than on the wiki, 
>> since it is essentially fixed, and would be a useful reference?)
>> Markdown packages yet to be implemented in commonmark (this list belongs 
>> on the wiki as it gradually shrinks)
>>
>> I would happily volunteer to give myself a periodic calendar reminder and 
>> check in with pandoc --list-extensions and the release notes to see if 
>> any new extensions have been implemented, and update the Wiki list 
>> accordingly. If someone could put together the first list (I'm not super 
>> read-up on the details of the commonmark spec) I can put together the 
>> second. 
>>
>> For convenience, the full list of markdown packages not available in 
>> commonmark (union of the two lists) as of 2.14.0.3 (and I don't believe 
>> 2.14.1 added any new commonmark extensions): 
>> abbreviations
>> all_symbols_escapable
>> angle_brackets_escapable
>> auto_identifiers
>> backtick_code_blocks
>> blank_before_blockquote
>> blank_before_header
>> citations
>> compact_definition_lists
>> escaped_line_breaks
>> example_lists
>> fenced_code_attributes
>> fenced_code_blocks
>> four_space_rule
>> grid_tables
>> gutenberg
>> header_attributes
>> ignore_line_breaks
>> inline_code_attributes
>> inline_notes
>> intraword_underscores
>> latex_macros
>> line_blocks
>> link_attributes
>> lists_without_preceding_blankline
>> literate_haskell
>> markdown_attribute
>> markdown_in_html_blocks
>> mmd_header_identifiers
>> mmd_link_attributes
>> mmd_title_block
>> multiline_tables
>> native_divs
>> native_spans
>> old_dashes
>> pandoc_title_block
>> shortcut_reference_links
>> simple_tables
>> space_in_atx_header
>> spaced_reference_links
>> startnum
>> table_captions
>> tex_math_double_backslash
>> tex_math_single_backslash
>>
>> On Wednesday, July 21, 2021 at 10:17:45 AM UTC-7 John MacFarlane wrote:
>>
>>> Connor Patrick Jackson <cpja...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes: 
>>>
>>> > - Not allowed by the spec (cannot be enabled) 
>>>
>>> This one doesn't really apply. Officially, the spec fully 
>>> specifies behavior, so no extension is "allowed by the spec." 
>>>
>>> But it might be useful to distinguish between: 
>>>
>>> > - required by the spec (cannot be disabled) 
>>> > - Not available (under development) 
>>>
>>> If you have specific questions regarding this, I'd be 
>>> happy to answer. A table may be useful, but of course 
>>> there's the danger that it will become out of date and 
>>> thus misleading. 
>>>
>>> -- 
>> 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/ec4a5de6-77a4-4a48-86cc-e3d2610f5257n%40googlegroups.com 
>> <https://groups.google.com/d/msgid/pandoc-discuss/ec4a5de6-77a4-4a48-86cc-e3d2610f5257n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/d1d1e4ab-26c6-467b-9a61-40acdfc03aa8n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 9149 bytes --]

  parent reply	other threads:[~2021-07-21 18:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 15:26 Connor Patrick Jackson
     [not found] ` <11d4e07a-6151-42f1-8a2f-56ce4bb2ae1bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-07-21 17:17   ` John MacFarlane
     [not found]     ` <m2a6mf4mdz.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-07-21 17:41       ` Connor Patrick Jackson
     [not found]         ` <ec4a5de6-77a4-4a48-86cc-e3d2610f5257n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-07-21 18:00           ` BPJ
     [not found]             ` <CADAJKhA3VdyosoGi+C_AjgK2hZLM+56ju8sHvd9yzMYqb=40QQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-07-21 18:09               ` Connor Patrick Jackson [this message]
2021-07-21 18:52           ` John MacFarlane
     [not found]             ` <yh480ktukn5wj8.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-07-22  1:01               ` Connor Patrick Jackson
     [not found]                 ` <abf704be-12e2-4952-98a1-4ca4660db027n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-07-22 18:43                   ` John MacFarlane
     [not found]                     ` <yh480kbl6u42bq.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-09-04 15:23                       ` Connor Patrick Jackson
     [not found]                         ` <97ef942c-42de-413f-aacc-18792d3c9c6fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-04 17:01                           ` John MacFarlane

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=d1d1e4ab-26c6-467b-9a61-40acdfc03aa8n@googlegroups.com \
    --to=cpjackson-tvlzxgkolnx2fbvcvol8/a@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).