Node

Node is a tool that allows anyone to write a website in simple Markdown. Node automatically generates a <nav> that allows visitors to navigate your content easily and intuitively.

Source Code

Use Node

The layout of the website is described in a .tree file.

My Node index.md
<Projects projects.md
<<BMP2CHR bmp2chr.md
<Blog blog.md
<<Awesome Blog Post awesome.md
<Now now.md

When Node is run, it parses the .md file at the end of each line and produces a HTML document with a nav for each one. The <nav> for "Awesome Blog Post" would look like this:

<nav>
    <ul>
        <li><a href="projects.html">Projects</a></li>
        <li><a href="blog.html">Blog</a></li>
        <ul>
            <li><a href="awesome.html">Awesome Blog Post</a></li>
        </ul>
    </ul>
</nav>
<main> ... content generated from awesome.md ... </main>

About Node

Node is a tiny C99 program that enjoys fast performance thanks to its constrained problem domain and the speed of its only dependency, MD4C. Users who want slight changes to the functionality of Node are encouraged to modify its source code.