md_simple_editor 0.2.1 → 0.2.3.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +7 -0
  3. data/Gemfile +3 -1
  4. data/README.md +4 -9
  5. data/Rakefile +16 -0
  6. data/app/assets/javascripts/md_simple_editor/md_preview.js +2 -0
  7. data/app/assets/javascripts/md_simple_editor.js.coffee +41 -61
  8. data/app/assets/stylesheets/md_simple_editor/md_preview.css +4 -0
  9. data/app/assets/stylesheets/md_simple_editor.css.scss +66 -5
  10. data/app/controllers/md_simple_editor/application_controller.rb +4 -0
  11. data/app/controllers/md_simple_editor/md_preview_controller.rb +8 -0
  12. data/app/helpers/md_simple_editor/md_preview_helper.rb +4 -0
  13. data/app/helpers/md_simple_editor/rails/md_helper.rb +22 -32
  14. data/app/views/md_simple_editor/layouts/md_simple_editor/application.html.erb +14 -0
  15. data/app/views/md_simple_editor/md_preview/preview.html.erb +2 -0
  16. data/bin/rails +8 -0
  17. data/config/routes.rb +3 -3
  18. data/lib/md_simple_editor/engine.rb +3 -2
  19. data/lib/md_simple_editor/version.rb +2 -1
  20. data/lib/md_simple_editor.rb +3 -0
  21. data/md_simple_editor.gemspec +2 -2
  22. data/test/blorgh_test.rb +7 -0
  23. data/test/controllers/md_simple_editor/md_preview_controller_test.rb +11 -0
  24. data/test/dummy/README.rdoc +28 -0
  25. data/test/dummy/Rakefile +6 -0
  26. data/test/dummy/app/assets/images/.keep +0 -0
  27. data/test/dummy/app/assets/javascripts/application.js +13 -0
  28. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  29. data/test/dummy/app/controllers/application_controller.rb +5 -0
  30. data/test/dummy/app/controllers/concerns/.keep +0 -0
  31. data/test/dummy/app/helpers/application_helper.rb +2 -0
  32. data/test/dummy/app/mailers/.keep +0 -0
  33. data/test/dummy/app/models/.keep +0 -0
  34. data/test/dummy/app/models/concerns/.keep +0 -0
  35. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  36. data/test/dummy/bin/bundle +3 -0
  37. data/test/dummy/bin/rails +4 -0
  38. data/test/dummy/bin/rake +4 -0
  39. data/test/dummy/config/application.rb +23 -0
  40. data/test/dummy/config/boot.rb +5 -0
  41. data/test/dummy/config/database.yml +25 -0
  42. data/test/dummy/config/environment.rb +5 -0
  43. data/test/dummy/config/environments/development.rb +29 -0
  44. data/test/dummy/config/environments/production.rb +80 -0
  45. data/test/dummy/config/environments/test.rb +36 -0
  46. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/test/dummy/config/initializers/inflections.rb +16 -0
  49. data/test/dummy/config/initializers/mime_types.rb +5 -0
  50. data/test/dummy/config/initializers/session_store.rb +3 -0
  51. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  52. data/test/dummy/config/locales/en.yml +23 -0
  53. data/test/dummy/config/routes.rb +4 -0
  54. data/test/dummy/config/secrets.yml +20 -0
  55. data/test/dummy/config.ru +4 -0
  56. data/test/dummy/lib/assets/.keep +0 -0
  57. data/test/dummy/log/.keep +0 -0
  58. data/test/dummy/public/404.html +67 -0
  59. data/test/dummy/public/422.html +67 -0
  60. data/test/dummy/public/500.html +66 -0
  61. data/test/dummy/public/favicon.ico +0 -0
  62. data/test/helpers/md_simple_editor/md_preview_helper_test.rb +6 -0
  63. data/test/integration/navigation_test.rb +10 -0
  64. data/test/test_helper.rb +15 -0
  65. metadata +116 -31
  66. data/.idea/.rakeTasks +0 -7
  67. data/.idea/encodings.xml +0 -5
  68. data/.idea/md_simple_editor.iml +0 -23
  69. data/.idea/misc.xml +0 -36
  70. data/.idea/modules.xml +0 -9
  71. data/.idea/scopes/scope_settings.xml +0 -5
  72. data/.idea/vcs.xml +0 -7
  73. data/.idea/workspace.xml +0 -56
  74. data/CHANGELOG.md +0 -41
  75. data/app/controllers/md_simple_editor_controller.rb +0 -7
metadata CHANGED
@@ -1,102 +1,144 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md_simple_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Espinosa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-10 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: font-awesome-rails
42
+ name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: redcarpet
56
+ name: font-awesome-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '3.0'
61
+ version: 4.0.3.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '3.0'
68
+ version: 4.0.3.1
69
69
  description: Simple editor for markdown and rails
70
70
  email:
71
71
  - rderoldan1@gmail.com
72
- executables: []
72
+ executables:
73
+ - rails
73
74
  extensions: []
74
75
  extra_rdoc_files: []
75
76
  files:
76
- - ".gitignore"
77
- - ".idea/.rakeTasks"
78
- - ".idea/encodings.xml"
79
- - ".idea/md_simple_editor.iml"
80
- - ".idea/misc.xml"
81
- - ".idea/modules.xml"
82
- - ".idea/scopes/scope_settings.xml"
83
- - ".idea/vcs.xml"
84
- - ".idea/workspace.xml"
85
- - CHANGELOG.md
77
+ - .gitignore
86
78
  - Gemfile
87
79
  - LICENSE
88
80
  - LICENSE.txt
89
81
  - README.md
90
82
  - Rakefile
91
83
  - app/assets/javascripts/md_simple_editor.js.coffee
84
+ - app/assets/javascripts/md_simple_editor/md_preview.js
92
85
  - app/assets/stylesheets/md_simple_editor.css.scss
93
- - app/controllers/md_simple_editor_controller.rb
86
+ - app/assets/stylesheets/md_simple_editor/md_preview.css
87
+ - app/controllers/md_simple_editor/application_controller.rb
88
+ - app/controllers/md_simple_editor/md_preview_controller.rb
89
+ - app/helpers/md_simple_editor/md_preview_helper.rb
94
90
  - app/helpers/md_simple_editor/rails/md_helper.rb
91
+ - app/views/md_simple_editor/layouts/md_simple_editor/application.html.erb
92
+ - app/views/md_simple_editor/md_preview/preview.html.erb
93
+ - bin/rails
95
94
  - config/routes.rb
96
95
  - lib/md_simple_editor.rb
97
96
  - lib/md_simple_editor/engine.rb
98
97
  - lib/md_simple_editor/version.rb
99
98
  - md_simple_editor.gemspec
99
+ - test/blorgh_test.rb
100
+ - test/controllers/md_simple_editor/md_preview_controller_test.rb
101
+ - test/dummy/README.rdoc
102
+ - test/dummy/Rakefile
103
+ - test/dummy/app/assets/images/.keep
104
+ - test/dummy/app/assets/javascripts/application.js
105
+ - test/dummy/app/assets/stylesheets/application.css
106
+ - test/dummy/app/controllers/application_controller.rb
107
+ - test/dummy/app/controllers/concerns/.keep
108
+ - test/dummy/app/helpers/application_helper.rb
109
+ - test/dummy/app/mailers/.keep
110
+ - test/dummy/app/models/.keep
111
+ - test/dummy/app/models/concerns/.keep
112
+ - test/dummy/app/views/layouts/application.html.erb
113
+ - test/dummy/bin/bundle
114
+ - test/dummy/bin/rails
115
+ - test/dummy/bin/rake
116
+ - test/dummy/config.ru
117
+ - test/dummy/config/application.rb
118
+ - test/dummy/config/boot.rb
119
+ - test/dummy/config/database.yml
120
+ - test/dummy/config/environment.rb
121
+ - test/dummy/config/environments/development.rb
122
+ - test/dummy/config/environments/production.rb
123
+ - test/dummy/config/environments/test.rb
124
+ - test/dummy/config/initializers/backtrace_silencers.rb
125
+ - test/dummy/config/initializers/filter_parameter_logging.rb
126
+ - test/dummy/config/initializers/inflections.rb
127
+ - test/dummy/config/initializers/mime_types.rb
128
+ - test/dummy/config/initializers/session_store.rb
129
+ - test/dummy/config/initializers/wrap_parameters.rb
130
+ - test/dummy/config/locales/en.yml
131
+ - test/dummy/config/routes.rb
132
+ - test/dummy/config/secrets.yml
133
+ - test/dummy/lib/assets/.keep
134
+ - test/dummy/log/.keep
135
+ - test/dummy/public/404.html
136
+ - test/dummy/public/422.html
137
+ - test/dummy/public/500.html
138
+ - test/dummy/public/favicon.ico
139
+ - test/helpers/md_simple_editor/md_preview_helper_test.rb
140
+ - test/integration/navigation_test.rb
141
+ - test/test_helper.rb
100
142
  homepage: http://rderoldan1.github.io/md_simple_editor/
101
143
  licenses:
102
144
  - MIT
@@ -107,18 +149,61 @@ require_paths:
107
149
  - lib
108
150
  required_ruby_version: !ruby/object:Gem::Requirement
109
151
  requirements:
110
- - - ">="
152
+ - - '>='
111
153
  - !ruby/object:Gem::Version
112
154
  version: '0'
113
155
  required_rubygems_version: !ruby/object:Gem::Requirement
114
156
  requirements:
115
- - - ">="
157
+ - - '>'
116
158
  - !ruby/object:Gem::Version
117
- version: '0'
159
+ version: 1.3.1
118
160
  requirements: []
119
161
  rubyforge_project:
120
- rubygems_version: 2.6.6
162
+ rubygems_version: 2.2.1
121
163
  signing_key:
122
164
  specification_version: 4
123
165
  summary: Simple editor for markdown and rails
124
- test_files: []
166
+ test_files:
167
+ - test/blorgh_test.rb
168
+ - test/controllers/md_simple_editor/md_preview_controller_test.rb
169
+ - test/dummy/README.rdoc
170
+ - test/dummy/Rakefile
171
+ - test/dummy/app/assets/images/.keep
172
+ - test/dummy/app/assets/javascripts/application.js
173
+ - test/dummy/app/assets/stylesheets/application.css
174
+ - test/dummy/app/controllers/application_controller.rb
175
+ - test/dummy/app/controllers/concerns/.keep
176
+ - test/dummy/app/helpers/application_helper.rb
177
+ - test/dummy/app/mailers/.keep
178
+ - test/dummy/app/models/.keep
179
+ - test/dummy/app/models/concerns/.keep
180
+ - test/dummy/app/views/layouts/application.html.erb
181
+ - test/dummy/bin/bundle
182
+ - test/dummy/bin/rails
183
+ - test/dummy/bin/rake
184
+ - test/dummy/config.ru
185
+ - test/dummy/config/application.rb
186
+ - test/dummy/config/boot.rb
187
+ - test/dummy/config/database.yml
188
+ - test/dummy/config/environment.rb
189
+ - test/dummy/config/environments/development.rb
190
+ - test/dummy/config/environments/production.rb
191
+ - test/dummy/config/environments/test.rb
192
+ - test/dummy/config/initializers/backtrace_silencers.rb
193
+ - test/dummy/config/initializers/filter_parameter_logging.rb
194
+ - test/dummy/config/initializers/inflections.rb
195
+ - test/dummy/config/initializers/mime_types.rb
196
+ - test/dummy/config/initializers/session_store.rb
197
+ - test/dummy/config/initializers/wrap_parameters.rb
198
+ - test/dummy/config/locales/en.yml
199
+ - test/dummy/config/routes.rb
200
+ - test/dummy/config/secrets.yml
201
+ - test/dummy/lib/assets/.keep
202
+ - test/dummy/log/.keep
203
+ - test/dummy/public/404.html
204
+ - test/dummy/public/422.html
205
+ - test/dummy/public/500.html
206
+ - test/dummy/public/favicon.ico
207
+ - test/helpers/md_simple_editor/md_preview_helper_test.rb
208
+ - test/integration/navigation_test.rb
209
+ - test/test_helper.rb
data/.idea/.rakeTasks DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Settings><!--This file was automatically generated by Ruby plugin.
3
- You are allowed to:
4
- 1. Remove rake task
5
- 2. Add existing rake tasks
6
- To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build md_simple_editor-0.1.8.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install md_simple_editor-0.1.8.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.1.8 and build and push md_simple_editor-0.1.8.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
data/.idea/encodings.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
- </project>
5
-
@@ -1,23 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="CompassSettings">
4
- <option name="compassSupportEnabled" value="true" />
5
- </component>
6
- <component name="FacetManager">
7
- <facet type="gem" name="Ruby Gem">
8
- <configuration>
9
- <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
10
- <option name="GEM_APP_TEST_PATH" value="" />
11
- <option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
12
- </configuration>
13
- </facet>
14
- </component>
15
- <component name="NewModuleRootManager">
16
- <content url="file://$MODULE_DIR$" />
17
- <orderEntry type="inheritedJdk" />
18
- <orderEntry type="sourceFolder" forTests="false" />
19
- <orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, RVM: ruby-1.9.3-p392) [gem]" level="application" />
20
- <orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.2, RVM: ruby-1.9.3-p392) [gem]" level="application" />
21
- </component>
22
- </module>
23
-
data/.idea/misc.xml DELETED
@@ -1,36 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectInspectionProfilesVisibleTreeState">
4
- <entry key="Project Default">
5
- <profile-state>
6
- <expanded-state>
7
- <State>
8
- <id />
9
- </State>
10
- </expanded-state>
11
- <selected-state>
12
- <State>
13
- <id>CoffeeScript</id>
14
- </State>
15
- </selected-state>
16
- </profile-state>
17
- </entry>
18
- </component>
19
- <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p392" project-jdk-type="RUBY_SDK" />
20
- <component name="masterDetails">
21
- <states>
22
- <state key="ScopeChooserConfigurable.UI">
23
- <settings>
24
- <splitter-proportions>
25
- <option name="proportions">
26
- <list>
27
- <option value="0.2" />
28
- </list>
29
- </option>
30
- </splitter-proportions>
31
- </settings>
32
- </state>
33
- </states>
34
- </component>
35
- </project>
36
-
data/.idea/modules.xml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/md_simple_editor.iml" filepath="$PROJECT_DIR$/.idea/md_simple_editor.iml" />
6
- </modules>
7
- </component>
8
- </project>
9
-
@@ -1,5 +0,0 @@
1
- <component name="DependencyValidationManager">
2
- <state>
3
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
- </state>
5
- </component>
data/.idea/vcs.xml DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="" />
5
- </component>
6
- </project>
7
-
data/.idea/workspace.xml DELETED
@@ -1,56 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <option name="TRACKING_ENABLED" value="true" />
5
- <option name="SHOW_DIALOG" value="false" />
6
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
7
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
8
- <option name="LAST_RESOLUTION" value="IGNORE" />
9
- </component>
10
- <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
11
- <component name="CreatePatchCommitExecutor">
12
- <option name="PATCH_PATH" value="" />
13
- </component>
14
- <component name="DaemonCodeAnalyzer">
15
- <disable_hints />
16
- </component>
17
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
18
- <OptionsSetting value="true" id="Add" />
19
- <OptionsSetting value="true" id="Remove" />
20
- <OptionsSetting value="true" id="Checkout" />
21
- <OptionsSetting value="true" id="Update" />
22
- <OptionsSetting value="true" id="Status" />
23
- <OptionsSetting value="true" id="Edit" />
24
- <ConfirmationsSetting value="0" id="Add" />
25
- <ConfirmationsSetting value="0" id="Remove" />
26
- </component>
27
- <component name="ProjectReloadState">
28
- <option name="STATE" value="0" />
29
- </component>
30
- <component name="PropertiesComponent">
31
- <property name="options.lastSelected" value="reference.settingsdialog.project.vagrant" />
32
- <property name="options.splitter.main.proportions" value="0.3" />
33
- <property name="options.splitter.details.proportions" value="0.2" />
34
- <property name="options.searchVisible" value="true" />
35
- </component>
36
- <component name="RunManager">
37
- <list size="0" />
38
- </component>
39
- <component name="ShelveChangesManager" show_recycled="false" />
40
- <component name="TaskManager">
41
- <task active="true" id="Default" summary="Default task" />
42
- <servers />
43
- </component>
44
- <component name="VcsContentAnnotationSettings">
45
- <option name="myLimit" value="2678400000" />
46
- </component>
47
- <component name="VcsManagerConfiguration">
48
- <option name="myTodoPanelSettings">
49
- <TodoPanelSettings />
50
- </option>
51
- </component>
52
- <component name="XDebuggerManager">
53
- <breakpoint-manager />
54
- </component>
55
- </project>
56
-
data/CHANGELOG.md DELETED
@@ -1,41 +0,0 @@
1
-
2
- #### [Current]
3
-
4
-
5
- #### v0.1.8
6
- * [55adff2](../../commit/55adff2) - __(Ruben Espinosa)__ preview funcionality, bootstrap as css provider
7
- * [585b857](../../commit/585b857) - __(Ruben Espinosa)__ controllers
8
- * [da5aee8](../../commit/da5aee8) - __(Ruben Espinosa)__ rutas
9
- * [9966862](../../commit/9966862) - __(Ruben Espinosa)__ Bump to 0.1.8
10
-
11
- #### v0.1.7
12
- * [4144a7c](../../commit/4144a7c) - __(Ruben Espinosa)__ Bump to 0.1.7
13
- * [7298105](../../commit/7298105) - __(Ruben Espinosa)__ new version
14
- * [1854fb1](../../commit/1854fb1) - __(Ruben Espinosa)__ Bump to 0.1.6
15
-
16
- #### v0.1.5
17
- * [5abdd6b](../../commit/5abdd6b) - __(Ruben Espinosa)__ support for turbolinks
18
- * [e885c1f](../../commit/e885c1f) - __(Ruben Espinosa)__ Update README.md
19
-
20
- #### v0.1.2
21
- * [74c746c](../../commit/74c746c) - __(Ruben Espinosa)__ grammar issue
22
- * [44cb8a4](../../commit/44cb8a4) - __(Ruben Espinosa)__ Bump to 0.1.2
23
-
24
- #### v0.1.1
25
- * [4981c84](../../commit/4981c84) - __(Ruben Espinosa)__ Image and Link options
26
- * [22cb604](../../commit/22cb604) - __(Ruben Espinosa)__ Bump to 0.1.1
27
-
28
- #### v0.1.0
29
- * [1121e85](../../commit/1121e85) - __(Ruben Espinosa)__ Bump to 0.1.0
30
- * [3857cea](../../commit/3857cea) - __(Ruben Espinosa)__ Bump to 0.0.3
31
- * [8fd810d](../../commit/8fd810d) - __(Ruben Espinosa)__ Bump to 0.0.2
32
- * [cd918a9](../../commit/cd918a9) - __(Ruben Espinosa)__ css improvements
33
-
34
- #### v0.0.1
35
- * [78c593e](../../commit/78c593e) - __(Ruben Espinosa)__ Update README.md
36
- * [0bfd1fb](../../commit/0bfd1fb) - __(Ruben Espinosa)__ merge conflicts
37
- * [d80c0d6](../../commit/d80c0d6) - __(Ruben Espinosa)__ Initial commit
38
- * [97e1406](../../commit/97e1406) - __(Ruben Espinosa)__ Readme updated
39
- * [25f154b](../../commit/25f154b) - __(Ruben Espinosa)__ dependencies
40
- * [260b8d9](../../commit/260b8d9) - __(Ruben Espinosa)__ font awesome dependecy
41
- * [e689d0d](../../commit/e689d0d) - __(Ruben Espinosa)__ first commit
@@ -1,7 +0,0 @@
1
- class MdSimpleEditorController < ApplicationController
2
- def preview
3
- options = {autolink: true, tables: true, hard_wrap: true, no_intra_emphasis: true, fenced_code:true, gh_blockcode: true}
4
- html = Redcarpet::Markdown.new(Redcarpet::Render::HTML, options).render(params['md']).html_safe
5
- render html: html
6
- end
7
- end