Skip to content

thiodordelis/renderview.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

renderview.js - A simple static page generator

About

renderview.js is a simple and easy to use static page generator built with Node.JS.

Philosophy

The philosopy of renderView.JS is simple: You write your content in Markdown and add a <div> inside your html. Divs must have an id the filename(without the extension) of the the Markdown file. Lastly, build your page running app.js.

Demo

My github page is using renderView.JS. Check out the repository.

Requirements

You need Node.JS and npm

Setup

  • Install dependencies with npm: npm install showdown jsdom js-beautify glob

Usage

  • Write your content and save it, e.g. intro.md
  • Inside your html(index.html, add a div with an id "intro": <div id="intro"></div>
  • Run app.js with node: node app.js

Done.

Congratulations! Now check the _public directory Please note that for each Markdown file you have inside the root directory, there must be a div with the corresponding id.

About

renderview.js - A simple static page generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published