Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Readme #80

Merged
merged 3 commits into from

3 participants

@rkh
Collaborator

Note that the second commit should only be merged if #79 gets merged, too.

@rtomayko
Owner

Love it. Thanks for this!

@rtomayko
Owner

Also, #79 will definitely be merged btw. GitHub just moved to Redcarpet for all Markdown processing. It's the best fast markdown lib out there currently IMO.

@judofyr do you want to keep stuff off master until this release goes out or can I go ahead and merge in #79?

@judofyr
Collaborator

@rtomayko well, as long as the tests pass, I don't see how much harm a new template class would do…

@rkh
Collaborator
@rtomayko
Owner

It should. Discount is unsafe in server environments.

One problem this surfaces is that Redcarpet will default to base Markdown and make you enable any extra syntax flags, whereas rdiscount defaults to having a bunch of stuff turned on. That makes using different markdown libs w/ tilt alternates very strange. Not sure what we should do about that.

I think we should leave rdiscount as default for this release.

@rtomayko rtomayko referenced this pull request from a commit
@rtomayko Merged pull request #80 from rkh/readme.
Readme
fff9e98
@rtomayko rtomayko merged commit fff9e98 into rtomayko:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 15, 2011
  1. @rkh

    update table of readmes

    rkh authored
  2. @rkh

    add redcarpet to readme

    rkh authored
  3. @rkh

    fix typo

    rkh authored
This page is out of date. Refresh to see the latest.
Showing with 24 additions and 17 deletions.
  1. +24 −17 README.md
View
41 README.md
@@ -21,22 +21,29 @@ template engines included in the distribution.
Support for these template engines is included with the package:
- ENGINE FILE EXTENSIONS REQUIRED LIBRARIES
- -------------------------- ----------------- ----------------------------
- ERB .erb none (included ruby stdlib)
- Interpolated String .str none (included ruby core)
- Haml .haml haml
- Sass .sass haml
- Less CSS .less less
- Builder .builder builder
- Liquid .liquid liquid
- RDiscount .markdown rdiscount
- RedCloth .textile redcloth
- RDoc .rdoc rdoc
- Radius .radius radius
- Markaby .mab markaby
- Nokogiri .nokogiri nokogiri
- CoffeeScript .coffee coffee-script (+node coffee)
+ ENGINE FILE EXTENSIONS REQUIRED LIBRARIES
+ -------------------------- ---------------------- ----------------------------
+ ERB .erb, .rhtml none (included ruby stdlib)
+ Interpolated String .str none (included ruby core)
+ Erubis .erb, .rhtml, .erubis erubis
+ Haml .haml haml
+ Sass .sass haml (< 3.1) or sass (>= 3.1)
+ Scss .scss haml (< 3.1) or sass (>= 3.1)
+ Less CSS .less less
+ Builder .builder builder
+ Liquid .liquid liquid
+ RDiscount .markdown, .mkd, .md rdiscount
+ Redcarpet .markdown, .mkd, .md redcarpet
+ BlueCloth .markdown, .mkd, .md bluecloth
+ Kramdown .markdown, .mkd, .md kramdown
+ Maruku .markdown, .mkd, .md maruku
+ RedCloth .textile redcloth
+ RDoc .rdoc rdoc
+ Radius .radius radius
+ Markaby .mab markaby
+ Nokogiri .nokogiri nokogiri
+ CoffeeScript .coffee coffee-script (+ javascript)
+ Creole (Wiki markup) .creole creole
These template engines ship with their own Tilt integration:
@@ -152,7 +159,7 @@ mappings:
If there are more than one template class registered for a file extension, Tilt
will automatically try to load the version that works on your machine:
- 1. If any of the template engines has been loaded alreaedy: Use that one.
+ 1. If any of the template engines has been loaded already: Use that one.
2. If not, it will try to initialize each of the classes with an empty template.
3. Tilt will use the first that doesn't raise an exception.
4. If however *all* of them failed, Tilt will raise the exception of the first
Something went wrong with that request. Please try again.