Skip to content

hackergrrl/strapdown-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

✨ Produce pretty web pages from markdown.

Resources

Stars

Watchers

Forks

Packages

No packages published