lua-filters: put all parameters in code font.

This commit is contained in:
John MacFarlane 2022-01-30 11:06:30 -08:00
parent 222fb2a445
commit 96ab241056

View file

@ -4119,7 +4119,7 @@ separator and everything after from the given path.
Parameters: Parameters:
filepath `filepath`
: path (string) : path (string)
Returns: Returns:
@ -4132,7 +4132,7 @@ Get the file name.
Parameters: Parameters:
filepath `filepath`
: path (string) : path (string)
Returns: Returns:
@ -4145,7 +4145,7 @@ Checks whether a path is absolute, i.e. not fixed to a root.
Parameters: Parameters:
filepath `filepath`
: path (string) : path (string)
Returns: Returns:
@ -4159,7 +4159,7 @@ Checks whether a path is relative or fixed to a root.
Parameters: Parameters:
filepath `filepath`
: path (string) : path (string)
Returns: Returns:
@ -4173,7 +4173,7 @@ Join path elements back together by the directory separator.
Parameters: Parameters:
filepaths `filepaths`
: path components (list of strings) : path components (list of strings)
Returns: Returns:
@ -4192,13 +4192,13 @@ Set `unsafe` to a truthy value to a allow `..` in paths.
Parameters: Parameters:
path `path`
: path to be made relative (string) : path to be made relative (string)
root `root`
: root path (string) : root path (string)
unsafe `unsafe`
: whether to allow `..` in the result. (boolean) : whether to allow `..` in the result. (boolean)
Returns: Returns:
@ -4218,7 +4218,7 @@ Normalizes a path.
Parameters: Parameters:
filepath `filepath`
: path (string) : path (string)
Returns: Returns:
@ -4231,7 +4231,7 @@ Splits a path by the directory separator.
Parameters: Parameters:
filepath `filepath`
: path (string) : path (string)
Returns: Returns:
@ -4246,7 +4246,7 @@ no extension, then the empty string is returned as the extension.
Parameters: Parameters:
filepath `filepath`
: path (string) : path (string)
Returns: Returns:
@ -4263,7 +4263,7 @@ Windows path elements are stripped of quotes.
Parameters: Parameters:
search_path `search_path`
: platform-specific search path (string) : platform-specific search path (string)
Returns: Returns: