1.0.0 • Published 6 years ago

strapdown-cli v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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