Readme.markdown in pizzazz-0.2.1 vs Readme.markdown in pizzazz-0.3.0
- old
+ new
@@ -46,11 +46,13 @@
Pizzazz.ify(all_of_the_things, array_limit: 'etc', value_omission: '... (continued)')
```
You can also supply `omit_root_container` and `prefix`, a string that's added to the beginning of each line of the output, is really nice for doing custom things. Both options can be used independently as well.
+By defauly, hash keys are sorted alphabetically. You can disable this with `sort_keys: false`.
+
### HTML
Spans are added around various elements. Here's the classes:
* `string`
@@ -64,17 +66,20 @@
``` ruby
Pizzazz.ify_html(object)
```
+By default, Pizzazz will convert any links starting with `http` to `<a>` tags. You can disable this by passing `detect_links: false`.
+
+
### Stylesheet
If you're using the asset pipeline, you can simply require `pizzazz` to get my stylesheet. Be sure your `<pre>` has the `pizzazz` class. If you use `ify_html` it will automatically do this.
## Supported Ruby Versions
-Pizzazz is tested under 1.9.2, 2.0.0, 2.2.4, JRuby 1.7.2 (1.9 mode), and Rubinius 2.0.0 (1.9 mode).
+Pizzazz is tested under 2.0.0, 2.2.4, JRuby 1.7.2 (1.9 mode), and Rubinius 2.0.0 (1.9 mode).
## Contributing
See the [contributing guide](Contributing.markdown).