After releasing the first version of markd over the weekend, I'm following it up with a reasonable amount of changes and new features.
There is now support for Pages. They're created from a file/directory hierarchy in your content/pages directory. Along with this a menu with support to up to 2 levels deep can be generated. This might be easier to explain by example. Let's assume you have a directory structure that looks like this:
/content
/pages
/about.md
/Projects
/markd.md
/contact.md
This would generate code that looks like this:
<ul class="nav">
<li><a href="about.html">About</a></li>
<li class="dropdown" data-dropdown="dropdown">
<a class="dropdown-toggle" href="#">Projects</a>
<ul class="dropdown-menu">
<li><a href="markd.html">markd</a></li>
</ul>
</li>
<li><a href="contact">Contact</a></li>
</ul>
The link names are pulled from the directory name (e.g. "Projects") or from the Title in the markdown file (e.g. "About"). Essentially all you need to do is create a structure and markd will take care of making a menu system for it and linking things up properly.
Also with the support of pages comes support for page templates. If you need a page to look different, then create a corresponding template file with the same file name inside your theme. For example, if you wanted your "about.md" page to use a special template, then you can create an "about.tpl" inside the theme and alter the HTML for that page only. If there's not a specific page template in the theme directory, then it will default to using a generic "page.tpl" from the theme directory.
There's also a simple (for the time being) hook system that was introduced which allows themes/plugins to do some manipulation of the generated site. Along with markd comes a plugin called Twitter Timeline Widget to show how this can be used to add something to the sidebar of posts/pages. There is another example in the default theme which depending on whether a JotForm ID is provided, it will either add the Contact Me button (that you see on the right hand side of this page) or not. This is a little crude at the moment, but I hope to flush it out and make things a little smoother as time goes on.
A lot of other tweaks were made along the way with these features, but you can read commits over on github if you really need to know about that boring stuff :)
Up next:
- Support for categories
- Restructuring of pages in the published site (need to build a directory structure rather than cramming it all into the site root)
- Child theme system (mainly for me to be able to apply customizations to the default theme)
- Post formats (make things like Links or Tweets look different)
- Future dated posts won't be published until the proper time even if their published status is set to true

