forked from agibsonsw/PrintHtml
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Description
Sublime text defines some variables which contain information about file and directory paths of the opened file: https://www.sublimetext.com/docs/3/build_systems.html#variables
For example, $file_path is the path to the file in the active view, and $folder is the first opened folder in the side bar. They can be expanded using the sublime.expand_variables() function, with information retrieved from the self.window.extract_variables() function of the API.
This can be useful if I would like to specify a directory to store the exported HTML files relative to the currently opened file, directory, or project.
Support Info
- ST ver.: 3211
- Platform: windows
- Arch: x64
- Plugin ver.: 2.17.0
- Install via PC: True
- mdpopups ver.: 4.0.4
- markdown ver.: 3.2.2
- pygments ver.: 2.1a0
- jinja2 ver.: 2.10.1