Aspose.Cloud for VSCode is built with aspose.cloud Converter allows converting Markdown to HTML and PDF format.
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.
We use the node-fetch
module to make API calls.
- Open the Markdown file
- Press
F1
orCtrl+Shift+P
- Type
Aspose:
and select belowAspose: 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
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 valuesPortrait
orLandscape
.aspose-cloud.paper.size
: Paper Size [A0
,A1
,A2
,A3
,A4
,A5
,A6
,Letter
,Legal
]. The valueCustom
means using optionsWidth
andHeight
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)."
- MD-to-PDF conversion: The
@page
CSS at-rule can be applied incorrectly.
In order to make changes in the repository, you need to:
- Create a branch with the proposed changes whose name matches the feature/* pattern.
- Create a pull request for this branch. It will be automatically assigned to a suitable reviewer.
- Once the request is approved, it can be merged.