3025 shaares
2 results
tagged
extensions
This page is a catalog of Asciidoctor extensions. In this context, an extension is a library that enriches the AsciiDoc content either by introducing new syntax or weaving additional features into the output. This differs from tool extensions, such as the Atom extension, which bring AsciiDoc support to the tool.
Parameter Extensions
- %~f1 Expand %1 to a Fully qualified path name - C:\utils\MyFile.txt
- %~d1 Expand %1 to a Drive letter only - C:
- %~p1 Expand %1 to a Path only e.g. \utils\ this includes a trailing \ which will be interpreted as an escape character by some commands.
- %~n1 Expand %1 to a file Name without file extension or path - MyFile or if only a path is present, with no trailing backslash, the last folder in that path.
- %~x1 Expand %1 to a file eXtension only - .txt
- %~s1 Change the meaning of f, n, s and x to reference the Short 8.3 name (if it exists.)
- %~1 Expand %1 removing any surrounding quotes (")
- %~a1 Display the file attributes of %1
- %~t1 Display the date/time of %1
- %~z1 Display the file size of %1
- %~$PATH:1 Search the PATH environment variable and expand %1 to the fully qualified name of the first match found.