markdowner 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc407621c244d535298d5ef7bba49beaf599a4b095132bbfc90d47003401e970
4
- data.tar.gz: 978c696e6f4dbbe25b72928b6ce7232ec129181b8fad2bc574359f753f506178
3
+ metadata.gz: af27374e842d8ab8b36303256a4f860821a96f408002d263b2ecd35a6804503b
4
+ data.tar.gz: bb378abf4a241b6b8c38dd362cd1af7986755528a287e513898fc3169806b465
5
5
  SHA512:
6
- metadata.gz: 1e71aa8f0072dbde4f967af7296ecf7ed80240b2395cf597985aca3a15a41d37d600161162839a3999bf68ee1b2c9fa8b2bef8cdb8f79fef8a26f1cb9bcfb356
7
- data.tar.gz: 86094c20030310928836829766e9b00ade5b1264a02c78217b3ba861f7c1ca24fa1d69f981a453f3128a3f2187e7c4364e4addd828c0db0b4c0e47d78dca1af0
6
+ metadata.gz: 9d961e166b04b606ddd2657a3ae91a2702c5a67149e20db7c3fec859c42e8197e971623479cec8d2465778a261e67b237e12afb6aaedff593927bd66731e4276
7
+ data.tar.gz: 9534c59c5dbef6429f61b37fc1d433a43d917550c1bddf1f488bc6b99ac5acb2e27170c3f3f107aad98f41cb5ac5eddc8dd527dfce21f24580900e12aa96d934
data/README.md CHANGED
@@ -8,7 +8,7 @@ After installing the gem you can create and use markdown files in your view fold
8
8
 
9
9
  ### Syntax Highlighting
10
10
 
11
- Markdowner comes with the [prismjs](https://prismjs.com/) library for syntax highlighting. You're free to use any other library you like, skip this section and include your own.
11
+ Markdowner comes with the [prismjs](https://prismjs.com/) library for syntax highlighting. You're free to use any other library you like, just skip this section and include your own.
12
12
 
13
13
  - To enable it add the following to your layout.
14
14
 
@@ -17,6 +17,14 @@ Markdowner comes with the [prismjs](https://prismjs.com/) library for syntax hig
17
17
  <%= javascript_include_tag 'markdowner/prism' %>
18
18
  ```
19
19
 
20
+ - Update your `manifest.json`
21
+
22
+ ```json
23
+ //= link markdowner/prism.css
24
+ //= link markdowner/prism.js
25
+
26
+ ```
27
+
20
28
  Then in your markdown file you can use the following syntax for code blocks.
21
29
 
22
30
  ````markdown
@@ -32,7 +40,7 @@ your code here
32
40
  Add this line to your application's Gemfile:
33
41
 
34
42
  ```ruby
35
- gem "markdowner", path: "../markdowner"
43
+ gem "markdowner"
36
44
  ```
37
45
 
38
46
  And then execute:
@@ -14,5 +14,8 @@ module Markdowner
14
14
  initializer "markdowner.assets.precompile" do |app|
15
15
  app.config.assets.precompile += %w[markdowner/prism.js markdowner/prism.css]
16
16
  end
17
+
18
+ # Add the vendor directory to the load path
19
+ config.autoload_paths += %W[#{config.root}/vendor]
17
20
  end
18
21
  end
@@ -1,3 +1,3 @@
1
1
  module Markdowner
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/markdowner.rb CHANGED
@@ -2,5 +2,4 @@ require "markdowner/version"
2
2
  require "markdowner/engine"
3
3
 
4
4
  module Markdowner
5
- # Your code goes here...
6
5
  end