Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81459 / js2html / README.md
diff options
context:
space:
mode:
1 files changed, 9 insertions, 0 deletions
-rw-r--r--homework/81459/js2html/README.md9
diff --git a/homework/81459/js2html/README.md b/homework/81459/js2html/README.md
new file mode 100644
index 0000000..bb0d3a7
--- /dev/null
+++ b/homework/81459/js2html/README.md
@@ -0,0 +1,9 @@
+# Requirements
+- [Node.js](https://nodejs.org/en/)
+
+# Usage
+```bash
+node highlight.js <input-file> <output-file>
+```
+`<input-file>` - the file with code to highlight (**testfile.js**)<br>
+`<output-file>` - the file where to save the computed html (**output.html**) *If missing the result will be printed on the console*