arnweb-chat/node_modules/.bin/markdown-it.cmd

7 lines
202 B
Batchfile
Raw Normal View History

@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\markdown-it\bin\markdown-it.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\markdown-it\bin\markdown-it.js" %*
)