mdnotes 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. data/lib/mdnotes.rb +20 -4
  2. metadata +1 -1
data/lib/mdnotes.rb CHANGED
@@ -96,14 +96,30 @@ class MDNotes
96
96
 
97
97
 
98
98
  def start
99
- check_directories
100
- compile_notes
101
- publish_notes
99
+ if @params['h'] || @params['help']
100
+ puts
101
+ puts
102
+ puts "MDNotes"
103
+ puts "======="
104
+ puts
105
+ puts "Using a terminal, [cd] into the directory you want to takes notes."
106
+ puts "Use command [mdnotes] to create a notes directory."
107
+ puts "Create your markdown (.md) in the md/ directory."
108
+ puts "Use [mdnotes] to 'compile' your notes into html. These will be located in the html/ folder."
109
+ puts "Use [mdnotes -p] or [mdnotes --publish] to create pdf's of your notes. These will be located in the pdf/ folder"
110
+ puts "If you want to include images in your notes you can place them in the images folder located under ./html/images. Use ![alt-text](./images/my_image.png) to reference an image."
111
+ puts
112
+ puts
113
+ else
114
+ check_directories
115
+ compile_notes
116
+ publish_notes
117
+ end
102
118
  end
103
119
 
104
120
  end
105
121
 
106
122
 
107
-
123
+ MDNotes.new.start
108
124
 
109
125
 
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.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: