Produce pretty web pages from markdown.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
README.md
package.json
screenshot.png
todo.json

README.md

strapdown-cli

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.

Usage

$ 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>

API

If you're looking for a programmatic API, you want the strapdown project.

Install

With npm installed, run

$ npm install strapdown-cli

License

ISC