Skip to content

Penlane/CodeHighlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeHighlighter

Highlights the code of a specified language using pygments in node.js

Quick start

  • Make sure you've got at least node.js v10 and python3 with pip installed
  • Install Pygments via pip install Pygments
  • Clone repo and use "npm i" in the directory\
  • Run node ./src/index.js cpp "directory/to/mySource" myOutputFileName (script, lexer, input/output directory, desired output Filename - separated by space)
  • The output will be created in the given "directory/to/mySource"

About

Highlights the code of a specified language using pygments in node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors