Thanks for the explanations, now I got it! Indeed I hadn't known yaml outside of pandoc headers, so the three dots were news to me... I think I did try them at some point yesterday but there was some other ill-formed stuff in the file that kept giving me aeson errors (which seem to be notoriously inscrutable?)... so now I rewrote that file from scratch and it works.
Thanks!
If you still test an empty YAML file, the parser is right: is expects a mapping after the line of dashes, and you don't provide one. Please fill you YAML file!
Le Tuesday 05 September 2023 à 04:51:41PM, t t a écrit :
> Hm, I just tried that - that gives me an aeson exception:
> Aeson exception:
>
> Error in $: Expected a mapping
>
>
>
> shell returned 64
>
> On Tuesday, September 5, 2023 at 5:28:21 PM UTC-4 Bastien DUMONT wrote:
>
> > The yaml used to reproduce the error is absolutely
> > minimal (just two lines with three dashes each will reproduce the
> error).
>
> It doesn't happen to me when I end the file with three points instead of
> three dashes.
>
> --
> 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 [1]pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/da60dc79-7264-4141-869f-c3acbdc958adn%40googlegroups.com.
>
> References:
>
> [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/da60dc79-7264-4141-869f-c3acbdc958adn%40googlegroups.com?utm_medium=email&utm_source=footer