aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-01-30 11:06:30 -0800
committerJohn MacFarlane <[email protected]>2022-01-30 11:06:30 -0800
commit96ab24105687a3554ba2f8adeea3aabcb5874d6c (patch)
treebad72ec642e46d398db8bd55fb45ecf074486ce6
parent222fb2a445be389a59c9937057c757bac331f598 (diff)
lua-filters: put all parameters in code font.
-rw-r--r--doc/lua-filters.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 060e19956..af0f97d40 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -4119,7 +4119,7 @@ separator and everything after from the given path.
Parameters:
-filepath
+`filepath`
: path (string)
Returns:
@@ -4132,7 +4132,7 @@ Get the file name.
Parameters:
-filepath
+`filepath`
: path (string)
Returns:
@@ -4145,7 +4145,7 @@ Checks whether a path is absolute, i.e. not fixed to a root.
Parameters:
-filepath
+`filepath`
: path (string)
Returns:
@@ -4159,7 +4159,7 @@ Checks whether a path is relative or fixed to a root.
Parameters:
-filepath
+`filepath`
: path (string)
Returns:
@@ -4173,7 +4173,7 @@ Join path elements back together by the directory separator.
Parameters:
-filepaths
+`filepaths`
: path components (list of strings)
Returns:
@@ -4192,13 +4192,13 @@ Set `unsafe` to a truthy value to a allow `..` in paths.
Parameters:
-path
+`path`
: path to be made relative (string)
-root
+`root`
: root path (string)
-unsafe
+`unsafe`
: whether to allow `..` in the result. (boolean)
Returns:
@@ -4218,7 +4218,7 @@ Normalizes a path.
Parameters:
-filepath
+`filepath`
: path (string)
Returns:
@@ -4231,7 +4231,7 @@ Splits a path by the directory separator.
Parameters:
-filepath
+`filepath`
: path (string)
Returns:
@@ -4246,7 +4246,7 @@ no extension, then the empty string is returned as the extension.
Parameters:
-filepath
+`filepath`
: path (string)
Returns:
@@ -4263,7 +4263,7 @@ Windows path elements are stripped of quotes.
Parameters:
-search_path
+`search_path`
: platform-specific search path (string)
Returns: