Static site generator inspired by jekyll
$ npm install -g outline-md
Run the following command in the folder containing your
This deletes all existing
.html files in the folder and compiles the
.md files into HTML using the default layout.
Jekyll posts, you can attach metadata to your documents using YAML. Here is a sample document
--- title: This is the title of my document. layout: base --- # Introduction Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Nulla vitae elit libero, a pharetra augue.
Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
Jekyll, outline searches for layouts in the
_layouts directory. If no layout is specified, the default layout is used.
// sample layout !!! html head body #toc!= toc #contents!= body
The jade template is given the
body variables parsed from the markdown. All other metadata from the document front matter is passed to the layout as well.
The MIT License (MIT)
Copyright (c) 2013 Michael Yong
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.