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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e830ebe50efe1de313b1293cb3a5f6f2e4c7944b
4
- data.tar.gz: a5e61934898bc39b8bd1bf59ecdea062f871e0f2
3
+ metadata.gz: deb6571b078af6e55248f6e7a882e27972c51a82
4
+ data.tar.gz: 89a90cb970842b5b387224a83dd8ac96d18eb605
5
5
  SHA512:
6
- metadata.gz: e82f90d69a2358795c691eb3c7b76b263b5755462826036e04dd10b98dfe25fec5e58f85ce466586440f7897cc3550e5826fd0d27425d85f81db235bbfcfb341
7
- data.tar.gz: 77e78642f8125801b1648b1772e61c45ed27260175187e1e60aaf3553ce907dd6b24c63390ccca184af40d913cd4e7ac1585f9917205f0a477c8d38ba5a0f0b0
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 sintax-highlighted source code insert
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 `gem install md2key && md2key markdown.md`
16
+ - 4. Then execute `md2key markdown.md`
11
17
 
12
18
  ![](https://i.gyazo.com/9d4d00164683f516d44b3e536b3dd3e9.gif)
13
19
 
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Md2key
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -13,7 +13,7 @@ on run argv
13
13
  set imgFile to make new image with properties { file: theImage, width: docWidth / 3 }
14
14
  tell imgFile
15
15
  set imgWidth to its width
16
- set imgHeight to its width
16
+ set imgHeight to its height
17
17
  end tell
18
18
  end tell
19
19
 
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.2
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-09 00:00:00.000000000 Z
11
+ date: 2015-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor