22
loading...
This website collects cookies to deliver better user experience
The Code-Workspace, once opened with VS Code, loads everything you need for importing, exporting, linting, custom rulesets, automatic styling, and file conversion --> PDF, DOCX, and HTML.
The syntax rules allow for the enforcement of any markdown flavor with a simple on/off option for each rule.
The linter looks for errors/problems and immediately flags them. A detailed explanation and reference link will appear on hover.
The auto-fix feature is enabled by default to run each time a file is saved. This formats your Markdown using the enabled rules, which corrects most errors automatically with no manual edits needed.
The file conversion tool uses an extension to integrate Pandoc with VS Code. With a simple key-binding (CTRL + K
, P
), you can create .pdf
, .docx
, and .html
files from Markdown, after which the new files can be viewed immediately and/or exported elsewhere.
The default stylesheet is applied during file conversion, ensuring uniformity and consistency in the output. You can apply custom styles using CSS to achieve the desired appearance of the converted files.
.code-workspace
file and prompt you to reopen the folder as a workspace. settings.json
in the .vscode
folder for you. Otherwise, just delete that file to avoid confusion.**Tree View**
_mdEditor_
\+---.vscode
| `settings.json`
|
+---md
| `project1.md`
| `project2.md`
|
+---styles
| `style.css`
| `syntax.md`
|
|`.markdownlint.json`
|`mdEditor.code-workspace`
|`README.md`
|`LICENSE`
\---
pandoc.htmlOptString
in the mdEditor.code-workspace
file. The current version, which uses Windows OS file separators, must be replaced with the Linux version; otherwise, the css styles will not be applied correctly.test.txt
file (in the md
folder); it should open in the main editor window.test.txt
tab in focus, change the filetype from txt
to md
and save.CTRL + K
, then press P
. Options to create .pdf
, .docx
, or .html
file should appear in the dropdown. Click each option in turn and confirm the desired result was produced.NOTE: The syntax.md
file in the styles
folder contains a detailed description of the linting rules available within the editor workspace. Any rule can be toggled on/off by editing the .markdownlint.json
file using this syntax. "ruleID" : bool
22