A small command line utility for Strapdown.
Strapdown generates attractive single-page websites
from simple markdown text. strapdown-cli
is a simple tool that lets you
generate these web pages from the command line. You give it a filename and a
strapdown theme name, and the website will be written to standard out.
$ cat > foo.markdown
# hello world
a fine day to be writing markdown!
^D
$ strapdown foo.markdown united > foo.html
$ cat foo.html
<!DOCTYPE html>
<html>
<title>foo.markdown</title>
<xmp theme="united" style="display:none;">
<h1 id="hello">hello</h1>
<p>A fine day to be writing markdown!</p>
</xmp>
<script src="http://strapdownjs.com/v/0.2/strapdown.js"></script>
</html>
If you're looking for a programmatic API, you want the strapdown project.
With npm installed, run
$ npm install strapdown-cli
ISC