![]() settings: This is a dictionary where you can override settings that are in the settings file.Relative paths first use the source file's directory, and if the file cannot be found, it will use the basepath setting. destination: This is an absolute file path or relative file path for when the markdown is saved to HTML via the build command or the Save to HTML command.Can be an absolute path or relative path. references: Can take a file path or an array of file paths for separate markdown files containing references, footnotes, etc.(for when the markdown is supposed to reference images in a different location.) basepath: An absolute path to configure the relative paths for images etc.YAML frontmatter has a few special key names that are used that will not be handled as meta data: * Strips the YAML front matter header and converts title to a heading */ "strip_yaml_front_matter" : false, Special YAML Key Names There are a few special key names that won't be handled as HTML meta data. In general the, the frontmatter is handled the same as meta data, but if both exist in a file, the YAML keys will override the meta extension keys. YAML frontmatter can be stripped out and read when strip_yaml_front_matter is set to true in the settings file. title is the one exception, and its content will be written to the title tag in the HTML head. When the meta extension is enabled ( ), the results will be written to the HTML head in the form. ![]() CodeHilite's default is "codehilite", while Highlight's (the extension that SuperFences uses) is "highlight". Make sure it matches whatever class(es) you've specified in the extension that controls Pygments highlighting. */ "pygments_style" : "github", /* This is the class to prepend to the pygments CSS styles. Available styles are the styles provided by pygments plus "github" and "github2014". */ "pygments_inject_css" : true, /* Name of the Pygments style to inject. * If Pygments is being used, you may want to inject one of the Pygment styles provided into the HTML. Path handling is controlled by the following two settings: Image paths can also be changed to inject embedded base 64 images (only for local images). By default, paths are converted to absolute paths, but you can use relative if desired as well. In the generated previews, paths are converted so that images and other links work properly. From now on, files should auto-reload when you open them in the browser unless you disable Simple Reload. You don't need to enable Simple Reload on every file as it is done globally it can be turned on or off as needed. It is possible you can get away with Simple Reload, but some experience an issue where they are one rev behind when using Simple Reload. Select Simple Reload with delay (400ms).Open the command palette and select the command LiveReload: Enable/disable plug-ins.Install LiveReload package from Package Control.Will not work if GitHub parser or GitLab parser is used without oauth key specified.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |