nugawiki

./categories/back-end

VS Code Markdown → HTML

업데이트 2026-07-21 조회수
npm i -g markdown-it

tasks.json (.vscode/tasks.json)

Terminal → Configure Task → Create from template → Other

{
  "version": "2.0.0",
  "tasks": [{
    "label": "markdown-to-html",
    "type": "shell",
    "command": "markdown-it ${file} -o ${fileDirname}/${fileBasenameNoExtension}.html",
    "group": { "kind": "build", "isDefault": true }
  }]
}

실행: Ctrl+Shift+B

gulp 자동화

npm i -g gulp
npm i gulp gulp-markdown-it

루트 gulpfile.js + tasks.json에서 gulp task 호출. Ctrl+Shift+B로 일괄 변환.

./comments