object-kazu / Jabverwock

Programmable HTML, CSS and Javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jabverwock

Programmable HTML, CSS and Javascript.

What is the Jabverwock?

Jabverwock is open source project to make web page using Ruby.

Final goal is "Do not use HTML, CSS, JS".
(Of course, we need the knowlege of HTML, CSS, JS)

Installation

Install Jabverwock at the command prompt if you haven't yet:

$ gem install jabverwock

Add this line to your application's Gemfile:

gem 'jabverwock'

How to use

Simple example

make html file,

export file name is n and file path is ~/path

#test.rb

require 'jabverwock'

class Test
 include Jabverwock

 doc = DOCTYPE.new
 doc.pressConfig(name: n, dist: ~/path/)
 doc.press
 
end

Test.new

at command prompt
$ ruby test.rb

<!-- ~/path/n.html -->

<!DOCTYPE html>

Usage

examples are found in the Usage folders.

Documentation

All documentations can be found in the documentation folder.

License

Jabverwock is distributed under MIT license.

Copyright (c) 2016 Kazuyuki Shimizu

About

Programmable HTML, CSS and Javascript

License:MIT License


Languages

Language:HTML 71.5%Language:Ruby 26.4%Language:CSS 1.5%Language:JavaScript 0.7%Language:Shell 0.0%