Den mån 15 maj 2023 15:16Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> skrev:

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> The Lua API manual says
>
>>>>>
>
> list_directory ([directory])
>
> List the contents of a directory.
>
> Parameters:
>
> directory
>
> Path of the directory whose contents should be listed. Defaults to ..
>     (string)
> <<<<
>
> Is that really meant to say that the default is the current *parent*
>     directory?

The default is the current directory; it's a bit clearer when looking at
the docs on GitHub:
https://github.com/jgm/pandoc/blob/main/doc/lua-filters.md#list_directory-pandocsystemlist_directory

It seems to me that the sentence-closing dot should be moved to the right of "(string)".





--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124

--
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@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87jzx9rb0w.fsf%40zeitkraut.de.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhCatUSAe-Yy6vU-xu6cNXLNztt%2BCS4GHr8YNpZVpzZHMw%40mail.gmail.com.