Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Generating styled markup from a folder of markup snippets

Notifications You must be signed in to change notification settings

mikedijkstra/Pattern-Primer-Ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby (Sinatra) version of Pattern-Primer by adactio

See https://github.com/adactio/Pattern-Primer

Pattern Primer

Create little snippets of markup and save them to the "patterns folder." The pattern primer will generate a list of all the patterns in that folder. You will see the pattern rendered as HTML. You will also get the source displayed in a textarea.

How it works

  1. Clone the repo
  2. run bundle install
  3. Copy your CSS to public/style.css
  4. Run the file with 'ruby application.rb' or 'shotgun' if you have the shotgun gem installed (https://github.com/rtomayko/shotgun)

Acknowledgements

Thanks to @adactio

About

Generating styled markup from a folder of markup snippets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%