Skip to content

nricciardi/nmd-vscode

Repository files navigation

Version

NMD x VS Code

This is the official VS Code extension to easily use NMD.

Configure extension

  1. Install nmd with Cargo or through Github release (you must modify PATH environment variable)
cargo install nmd
  1. Verify installation
nmd -V

Commands

Run a command using Ctrl + Shift + P

Create new dossier

Create a new dossier in selected path and then open it.

nmd generate dossier -p <dossier-path> -f

Add document to dossier

Add a document to the opened dossier in workspace.

nmd dossier -p <dossier-path> add -d <document-name>`

Compile (current) dossier

Compile the opened dossier (in workspace, current) or a selected one.

nmd compile -m <code-theme> -f html --force dossier -i <dossier-path> -o <dossier-path>/build/<output>.html`

Compile file

Compile selected file.

compile -m <code-theme> -f html --force file -i <input-file-path> -o <output-path>

Watch current dossier

Watch and compile current dossier in workspace. This command doesn't use nmd compile -w dossier, but it watches files (ignoring build/*.html preventing compilation loops) directly using chokidar library.

About

Official NMD extension for VS Code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages