Skip to content

object-kazu/Jabverwock

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published