VSCode OOBE/setup to preview/convert markdown documents.
- Live preview of markdown documents in VSCode.
- Conversion to HTML, PDF, Word (Docx), images and more.
- No hassle of installing dependencies/libraries.
It sets up markdown preview enhanced and other dependencies (pandoc, plantuml, imagemagick etc.) using Remote - Containers or Github Codespaces for a ready to use document editor/renderer.
Supports all major platforms (Windows/MacOS/Linux) running -
- VS Code
- Docker
git clone https://github.com/logwolvy/docukit.git- Open docukit repo in vscode
- If not installed already, install the recommended extension, i.e. Remote - Containers
- Click 'Reopen in Container'
- Voila! You can now create/edit docs in the
docsdirectory. Right click and select "Markdown Preview Enhanced: Open Preview to the Side".
(Recommended when your docs live across multiple directories/repositories)
- Create a .env file in this project's root,
touch .env - Add
DOCS_PATH=/path/to/your/project/docsto the .env file - Your specified
DOCS_PATHwill be mounted instead of default dir (i.e.docs)
Tip: You can specify multiple projects in .env file and simply, uncomment the one you intend to work on.
Example .env file -
DOCS_PATH=/path/to/my/project/docs
# DOCS_PATH=/path/to/another/project/docs
# DOCS_PATH=/path/to/some/project/docsIf .env file doesn't exist or no DOCS_PATH is set in the .env file, the docs directory is used/mounted by default.
cd /path/to/docukit
git pullPlease create an issue/PR if there is something you want added in this setup, example - latex, matplotlib support etc.
