nehan.js
Caution
Latest version of nehan is developed at https://github.com/tategakibunko/nehan.
Repository name changes from nehan.js
to nehan
.
Introduction
nehan.js is dynamic and logical html layout engine written in javascript, especially focused on generating logical paged media asynchronously.
In nehan.js, you can write styles in javascript context, so functional css property
is supported(and various other hooks are supported).
Almost all html5 tags are supported, and further more, vertical layout(lr-tb, rl-tb) supported.
Available on IE9+, Firefox3.5+, Google Chrome4+, Safari3+, Opera10+ etc.
See demo.
Install
Include css, js in the <head>
<link href="/path/to/nehan.css" type="text/css" rel="stylesheet">
<script src="/path/to/nehan.js" type="text/javascript"></script>
Application sample
Screenshot
These screenshots are layout result of jekyll-nehan.
1. horizontal paged media
2. vertical paged media
License
MIT License