mdnotes 0.1.7 → 0.1.8
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.
- data/lib/mdnotes.rb +22 -14
- metadata +7 -7
data/lib/mdnotes.rb
CHANGED
@@ -105,20 +105,28 @@ class MDNotes
|
|
105
105
|
|
106
106
|
def start
|
107
107
|
if @params['h'] || @params['help']
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
108
|
+
|
109
|
+
help_str = %Q{
|
110
|
+
Instruction:
|
111
|
+
|
112
|
+
- Using a terminal, [cd] into the directory you want to takes notes.
|
113
|
+
- Use command [mdnotes] to create a notes directory.
|
114
|
+
- Create your markdown (.md) in the md/ directory.
|
115
|
+
- Use the command [mdnotes] to 'compile' your notes into html. These will be located in the html/ folder.
|
116
|
+
- Use [mdnotes -p] or [mdnotes --publish] to create PDFs of your notes. These will be located in the pdf/ folder
|
117
|
+
- If you want to include images in your notes you can place them in the images folder located under ./html/images. Use  to reference an image.
|
118
|
+
|
119
|
+
Parameters:
|
120
|
+
|
121
|
+
-p, --publish Create PDFs.
|
122
|
+
-h, --help Show the help.
|
123
|
+
|
124
|
+
Repo:
|
125
|
+
|
126
|
+
You can find this at http://bitbucket.org/ugorelik/mdnotes
|
127
|
+
|
128
|
+
|
129
|
+
}
|
122
130
|
else
|
123
131
|
check_directories
|
124
132
|
compile_notes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdnotes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-13 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdiscount
|
16
|
-
requirement: &
|
16
|
+
requirement: &70169045923360 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70169045923360
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: pdfkit
|
27
|
-
requirement: &
|
27
|
+
requirement: &70169045922720 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70169045922720
|
36
36
|
description: Suite for taking easy notes in markdown and then converting to html and
|
37
37
|
pdf.
|
38
38
|
email: uri.gore@gmail.com
|
@@ -65,7 +65,7 @@ requirements:
|
|
65
65
|
- rdiscount
|
66
66
|
- pdfkit
|
67
67
|
rubyforge_project:
|
68
|
-
rubygems_version: 1.8.
|
68
|
+
rubygems_version: 1.8.10
|
69
69
|
signing_key:
|
70
70
|
specification_version: 3
|
71
71
|
summary: Suite for taking easy notes in markdown and then converting to html and pdf.
|