md2key 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +7 -1
- data/lib/md2key/keynote.rb +1 -1
- data/lib/md2key/version.rb +1 -1
- data/scripts/insert_image.scpt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: deb6571b078af6e55248f6e7a882e27972c51a82
|
4
|
+
data.tar.gz: 89a90cb970842b5b387224a83dd8ac96d18eb605
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea2929a0724d45142390c82f29115e06e0ae41de93bba1735be17202415152a7f1d48be90b0899dbdfda9fbb844e6935a6d5d02db2cffffee08ad77ae0a27946
|
7
|
+
data.tar.gz: c19a40b904815f71a0eaf04e67436f9ff178f8eec960de95737318f2af59dacc49d1b66c05d71e246786b2890cdf69a89a77406c948e7f8f45a37ca3b8c34436
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# v0.4.3
|
2
|
+
|
3
|
+
- Support relative path for images
|
4
|
+
- https://github.com/k0kubun/md2key/pull/14
|
5
|
+
- Thanks to @liubin
|
6
|
+
|
1
7
|
# v0.4.2
|
2
8
|
|
3
9
|
- Internal refactorings
|
@@ -11,7 +17,7 @@
|
|
11
17
|
|
12
18
|
# v0.4.0
|
13
19
|
|
14
|
-
- Support
|
20
|
+
- Support syntax-highlighted source code insert
|
15
21
|
|
16
22
|
# v0.3.3
|
17
23
|
|
data/README.md
CHANGED
@@ -2,12 +2,18 @@
|
|
2
2
|
|
3
3
|
Convert your markdown to keynote.
|
4
4
|
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
```bash
|
8
|
+
gem install md2key
|
9
|
+
```
|
10
|
+
|
5
11
|
## Usage
|
6
12
|
|
7
13
|
- 1. Create a keynote document
|
8
14
|
- 2. Create a first slide as a cover slide
|
9
15
|
- 3. Create a second slide to choose a slide layout
|
10
|
-
- 4. Then execute `
|
16
|
+
- 4. Then execute `md2key markdown.md`
|
11
17
|
|
12
18
|
![](https://i.gyazo.com/9d4d00164683f516d44b3e536b3dd3e9.gif)
|
13
19
|
|
data/lib/md2key/keynote.rb
CHANGED
@@ -30,7 +30,7 @@ module Md2key
|
|
30
30
|
|
31
31
|
# Insert image to the last slide
|
32
32
|
def insert_image(path)
|
33
|
-
execute_applescript('insert_image', slides_count, path, TEMPLATE_SLIDE_INDEX)
|
33
|
+
execute_applescript('insert_image', slides_count, File.absolute_path(path), TEMPLATE_SLIDE_INDEX)
|
34
34
|
end
|
35
35
|
|
36
36
|
def insert_code(code)
|
data/lib/md2key/version.rb
CHANGED
data/scripts/insert_image.scpt
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: md2key
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|