Aspose Cloud for Atom
Aspose Cloud for Atom is built with aspose.cloud It 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
Ctrl+Shift+P
- Type
Aspose:
and select belowAspose: Export Converter settings)
Aspose: Convert MD to PDF
Aspose: Convert MD to HTML
Menu
- 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:
outputDirectory
: Location for output files. Default is.
(current).paper.orientation
: Paper orientation for PDF files. Accepted valuesPortrait
orLandscape
.paper.size
: Paper Size [A0
,A1
,A2
,A3
,A4
,A5
,A6
,Letter
,Legal
]. The valueCustom
means using optionsWidth
andHeight
instead Paper Size.paper.width
: Paper Width, accepts values labeled with units(mm, cm, in, px).paper.height
: Paper Height, accepts values labeled with units(mm, cm, in, px).margin.top
: Top margin (units: mm, cm, in, px).margin.bottom
: Bottom margin (units: mm, cm, in, px).margin.right
: Right margin (units: mm, cm, in, px).margin.left
: Left margin (units: mm, cm, in, px)."
Known Issues
- MD-to-PDF conversion: The
@page
CSS at-rule can be applied incorrectly.