Aspose.Cloud for VSCode
Aspose.Cloud for VSCode is built with aspose.cloud
Converter allows converting Markdown to HTML and PDF format.
Features
Converter supports the following commands:
- Convert MD to PDF
- Convert MD to HTML
- Export Converter settings
By default, all actions run in the current directory.
Requirements
We use the node-fetch module to make API calls.
Usage
Command Palette
- Open the Markdown file
- Press
F1 or Ctrl+Shift+P
- Type
Aspose: and select below
Aspose: Export Converter settings)
Aspose: Convert MD to PDF
Aspose: Convert MD to HTML
- Open the Markdown file
- Right click and select below
Aspose: Convert MD to PDF
Aspose: Convert MD to HTML
Extension Settings
Markdown Converter contributes the following settings:
aspose-cloud.outputDirectory : Location for output files. Default is . (current).
aspose-cloud.paper.orientation : Paper orientation for PDF files. Accepted values Portrait or Landscape .
aspose-cloud.paper.size : Paper Size [A0 , A1 , A2 , A3 , A4 , A5 , A6 , Letter , Legal ]. The value Custom means using options Width and Height instead Paper Size.
aspose-cloud.paper.width : Paper Width, accepts values labeled with units(mm, cm, in, px).
aspose-cloud.paper.height : Paper Height, accepts values labeled with units(mm, cm, in, px).
aspose-cloud.margin.top : Top margin (units: mm, cm, in, px).
aspose-cloud.margin.bottom : Bottom margin (units: mm, cm, in, px).
aspose-cloud.margin.right : Right margin (units: mm, cm, in, px).
aspose-cloud.margin.left : Left margin (units: mm, cm, in, px)."
Known Issues
- MD-to-PDF conversion: The
@page CSS at-rule can be applied incorrectly.
| |