The env-vscode attribute is set on all output documents. Several code snippets are provided including but not limited to: include statements, images, links, header, headings, lists, blocks, etc.įor a full list open the command palette and select Insert Snippet. The extension provides a quick command to export your AsciiDoc file as DocBook. The shortcut key of ctrl+alt+s (Mac: cmd+alt+s) will also save the document. The file is generated in the same folder as the source document.The extension provides a quick command to export your AsciiDoc file as HTML using the default Asciidoctor stylesheet. (See more details under Extension Settings) Save as HTML If you prefer to use wkhtmltopdf, set the setting to wkhtmltopdf and configure the if necessary. Choose the folder and filename for the generated PDFīy default, the PDF export feature relies on asciidoctor-pdf.Select AsciiDoc: Export document as PDF.Open the command palette - ctrl+shift+p or F1 (Mac: cmd+shift+p).The extension provides a quick command to export your AsciiDoc file as PDF. (See more details under Extension Settings) Export as PDF It is also possible to define custom templates with the setting. It is possible to set your own preview stylesheet with the setting. To use Asciidoctor default style set the setting to false. The preview supports setting AsciiDoc attributes through the setting.īy default, the preview uses VS Code editor theme ( lorTheme). The extension updates automatically the preview but it can also be forced with the AsciiDoc: Refresh Preview command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |