Den tis 4 okt. 2022 19:26John MacFarlane skrev: > > > > On Oct 4, 2022, at 6:31 AM, Albert Krewinkel > wrote: > > > > Mmmh, good point. My initial idea was to use the format's default > > extension when no `extensions` field is given. But that's confusing, > > because now omitting the `extensions` field can have multiple meanings > > ("fall back to reader options" or "use default extensions"), depending > > on which other fields are set. Not a good interface. > > > Not sure about this, but what about? > > - if no `extensions` field is present, then default extensions for that > format are used, as possibly modified by `+` or `-` in the format specifier > Wouldn't it be better if `+`/`-` in the `format` field be an error condition if the format argument is a table? Least confusing IMO. - if `extensions` is present, then those extensions will be used, instead > of the defaults; if you want no extensions, just use `ejxtensions = {}` > - if `extensions` is present *and* modifiers to format, then start with > `extensions` and apply the modifiers > > -- > 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/5AC38771-6A87-47C2-80C7-5C7B389EDD1B%40gmail.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/CADAJKhCan6ec3ruV5r08ynTFPVLUtOpc%3Dh%2BJt7-geYNUcJb6QA%40mail.gmail.com.