md2key 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +8 -0
- data/assets/advanced.gif +0 -0
- data/lib/md2key/configuration.rb +2 -2
- data/lib/md2key/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6e7fd883b73dc8c7724bfb30512abac5e5d2aa7e1b39929fe5ce7ab44ed0aea
|
4
|
+
data.tar.gz: d791df85c7d6cc30ef9c0b974ee060d96c2319fa71a2e92c0777f23713a94c27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8450f3ffb2fd101dc50f9faa257c3815dbadb53ef4cf6f87d61f80c2ee903cb70738d2fa808ffed1086ad1f2dfcc271a5727e55b316b74019967bb7350f81c9
|
7
|
+
data.tar.gz: 5df3b2d01035d3ee1cb68378d897025362857a2eae1040bbc36c64b8d42f85958b8edf102818988c20171f4410f9007331c0b2c0997f6ed454737bca38d34f20
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -17,6 +17,14 @@ gem install md2key
|
|
17
17
|
|
18
18
|
![](https://i.gyazo.com/9d4d00164683f516d44b3e536b3dd3e9.gif)
|
19
19
|
|
20
|
+
## Advanced Usage
|
21
|
+
|
22
|
+
1. Open master slide editor
|
23
|
+
2. Name "cover", "h1", "h2" ... "h5" to master slides
|
24
|
+
3. They will be used for the first slide, and other slides with `#`, `##` ... `#####`
|
25
|
+
|
26
|
+
![](./assets/advanced.gif)
|
27
|
+
|
20
28
|
## Features
|
21
29
|
|
22
30
|
### Basic example
|
data/assets/advanced.gif
ADDED
Binary file
|
data/lib/md2key/configuration.rb
CHANGED
@@ -3,10 +3,10 @@ require 'yaml'
|
|
3
3
|
module Md2key
|
4
4
|
class Configuration
|
5
5
|
class Master
|
6
|
-
# @param [String] name
|
6
|
+
# @param [String] name - TODO: reject `nil` after Ruby 2.0 support is dropped
|
7
7
|
# @param [TrueClass,FalseClass,nil] cover
|
8
8
|
# @param [Integer,nil] template
|
9
|
-
def initialize(name
|
9
|
+
def initialize(name: nil, cover: nil, template: nil)
|
10
10
|
@name = name
|
11
11
|
@cover = cover
|
12
12
|
@template = template
|
data/lib/md2key/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: md2key
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- LICENSE.txt
|
110
110
|
- README.md
|
111
111
|
- Rakefile
|
112
|
+
- assets/advanced.gif
|
112
113
|
- assets/background.png
|
113
114
|
- assets/default.key
|
114
115
|
- assets/setup_master_slide.png
|