Open Quintus opened 9 years ago
coderay --help states this:
coderay --help
coderay file.rb > file.html # highlight file to HTML page
However, that command generates terminal output. The file.html page contains ANSI escape sequences and no HTML. For an HTML page, only this works:
file.html
coderay credits.cpp -page > test.html
This is on ArchLinux 64bit with Ruby ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] and CodeRay 1.1.0.
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
Vale, Quintus
Thanks! Does this fix it? https://github.com/rubychan/coderay/commit/cb18c6af5f53cba503fb9704ce656596ae3db075
Yes, that looks good.
Thank you.
Vale, Marvin
coderay --help
states this:However, that command generates terminal output. The
file.html
page contains ANSI escape sequences and no HTML. For an HTML page, only this works:This is on ArchLinux 64bit with Ruby
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
and CodeRay 1.1.0.Vale, Quintus