mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
lua-filters: put all parameters in code font.
This commit is contained in:
+12
-12
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user