pagedown-rails 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # pagedown-rails
2
+
3
+ [PageDown](https://code.google.com/p/pagedown/) for the Rails asset pipeline.
4
+
5
+ ## Installation
6
+
7
+ Add this line to the assets group in your Gemfile:
8
+
9
+ ```ruby
10
+ gem 'pagedown-rails'
11
+ ```
12
+
13
+ Add the necessary libraries to `app/assets/javascripts/application.js`:
14
+
15
+ ```js
16
+ //= require markdown.converter
17
+ //= require markdown.sanitizer
18
+ ```
19
+
20
+ ## What's included?
21
+
22
+ * markdown.converter
23
+ * markdown.sanitizer
24
+ * markdown.editor
25
+
26
+ Copyright Richard Hubers, released under the MIT License.
@@ -0,0 +1,6 @@
1
+ module PageDown
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module PageDown
2
+ module Rails
3
+ VERSION = "1.0.0"
4
+ end
5
+ end
@@ -0,0 +1,2 @@
1
+ require 'pagedown/rails/engine'
2
+ require 'pagedown/rails/version'
@@ -0,0 +1 @@
1
+ require 'pagedown/rails'