For '.rpm' based linux: yum install pandoc.
For '.deb' based linux: apt install pandoc.
Get the source and install:
$ cd
$ mkdir app
$ cd app
$ git clone <url>
$ cd note
$ ./install.shThis installs to ~/.local/bin. Make sure that directory is in your PATH.
Create a directory to hold your notes, and in it, make a file named .noteignore.
$ mkdir note-hobby
$ touch note-hobby/.noteignoreIn the directory you created, create a file tree of your notes, like this example:
note-hobby/
.noteignore
rc-plane/
hobby-zone-champ.md
hobby-zone-sport-cub-s.md
umx-radian.md
delta-ray.md
food/
lasagna.md
brats-n-kraut.md
brown-butter.md
Navigate to anywhere inside note-hobby/, then do:
$ note build
Then note will convert your files to an html tree in .build/.
Navigate your browser to file:///.../.build/index.html.
Navigate to anywhere inside note-hobby/, then do:
$ note clean
Then note will delete the contents of .build/.
In each directory, in a file named .noteignore you can add one filename per line.
Then note will ignore those filenames for that directory.
For a git-like syntax for ignores, see github bitranox/igittigitt. As of 2021-01, that was a more supported clone of mherrmann/gitignore_parser.
Fix pandoc bug: some lines in code block are incorrectly translated to html nchors.
Increase levels in TOC from 2 to 4.
Add ignore functionality.
Choose one of:
git-style ignore specification
a simpler, matching scheme that I implement in Python
Syntax highlighting.
Handle .rst files.
Implement user override for css, and js.
Implement note build show [file], or note show [file]?:
Detect appropriate browser and open .build/index.html, or file.html in a new tab.
Compatible w Python 2?