Readme.markdown in quesadilla-0.1.1 vs Readme.markdown in quesadilla-0.1.2
- old
+ new
@@ -58,10 +58,11 @@
`:markdown_triple_emphasis` | Markdown bold italic
`:markdown_double_emphasis` | Markdown bold
`:markdown_emphasis` | Markdown italic
`:markdown_strikethrough` | Markdown Extra strikethrough
`:hashtags` | Hashtags
+`:hashtags_validator` | Callable object to validate hashtags
`:autolinks` | Automatically detect links
`:emoji` | GitHub-style named emoji
`:users` | User mentions
`:user_validator` | Callable object to validate usernames
`:html` | Generate HTML representations for entities and the entire string
@@ -91,11 +92,11 @@
extraction = Quesadilla.extract('Some #awesome text', html_renderer: CustomRenderer)
extraction[:display_html] #=> 'Some <a href="http://example.com/tags/awesome" class="tag">#awesome</a> text'
```
-Take a look at [Quesadilla::HTMLRenderer](lib/quesadilla/html_renderer.html) for more details on creating a custom renderer.
+Take a look at [Quesadilla::HTMLRenderer](lib/quesadilla/html_renderer.rb) for more details on creating a custom renderer.
### Users
To enable user mention extraction, pass `users: true` as an option. You can optionally pass a callable object to validate a username. Here's a quick example:
@@ -110,10 +111,10 @@
Assuming there is a user named `soffes` in your database, it would extract `@soffes`. Assuming there isn't a user named `nobody`, that would remain plain text. Obviously feel free to do whatever you want here. Quesadilla makes no assumptions about your user system.
## Supported Ruby Versions
-Quesadilla is tested under 1.9.3, 2.0.0, and JRuby (1.9 mode).
+Quesadilla is tested under 1.9.2, 1.9.3, 2.0.0, JRuby 1.7.2 (1.9 mode), and Rubinius 2.0.0 (1.9 mode).
[![Build Status](https://travis-ci.org/soffes/quesadilla.png?branch=master)](https://travis-ci.org/soffes/quesadilla)
## Contributing