docs/arrays.rst in squib-0.11.0 vs docs/arrays.rst in squib-0.12.0
- old
+ new
@@ -64,13 +64,16 @@
Examples
--------
Here are a few recipes for using arrays and ranges in practice:
-.. raw:: HTML
+.. literalinclude:: ../samples/ranges/_ranges.rb
+ :language: ruby
+ :linenos:
- <script src="https://gist.github.com/andymeneely/25b0da2a84ab906bd44b.js"></script>
+.. raw:: html
+ <img src="ranges/ranges_00_expected.png">
Contribute Recipes!
-------------------
There are a lot more great recipes we could come up with. Feel free to contribute! You can add them here via pull request or `via the wiki <https://github.com/andymeneely/squib/wiki>`_