Node.js CLI to convert markdown files to html, with Github styling.
# I'm a Header
`python
def foo():
print("This is sort of cool.")
`
- Markdown is better than Word
- Microsoft Word is too complicated
- But we need easy ways to compile Markdown to HTML
>compile_md -f foo.md -o foo.html -s dark
- Download Node.js (what is Node.js?)
npm install -g git+https://github.com/jdoiro3/MdCompiler.git
compile_md -h
Using Vscode and the Run on Save extension, you can sync a markdown file to an html output.
- Download Run on Save
- Open Vscode's
settings.json
and append the below entry
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.md$",
"cmd": "compile_md -f \"${file}\" -o \"${fileBasenameNoExt}.html\" -s dark"
},
]
}