jekyll-tabs 1.0.0 → 1.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b21e622c0dfb9bf3874c04bdd18aea0c1fc352b54ebe388507c126513d236b0e
4
- data.tar.gz: 6ce3b0bb4d7631742b7fb5a059f5578a64c9066ab0af1df3d5fc820a8bbdf350
3
+ metadata.gz: b542d01f26e5f9cc72769abff7065838da5c59b4aa4044d02abaa92c8a45ee44
4
+ data.tar.gz: 396d97d17d7e3ba0680a08dc6f43aa52c64ae06dbee1223fd37b685b910bce7a
5
5
  SHA512:
6
- metadata.gz: d322403391ca27d737a3ea051e657f3b977c402171059e8bc05a497b54514c8c2c39cd7c0340bb58e7861e8474665da7a27b9bc8d802daf7db1b01e3e90a4a43
7
- data.tar.gz: ac59827e2b479bc436ee526b5fbfd3d7829354211b389cfb93a9f9614a80d19fd3ef7cced5cb347b4e1d7f05da92495cb9760da26c259335ae07b10f3e6a1afa
6
+ metadata.gz: ff42e2a0cb9ea91627c1979fa56ef54ab85492057d08350653ea52feabba4eb513519bb579deb0ad2395b0f49084283dacc445347363cfc7e2006b13d83d2ccf
7
+ data.tar.gz: 261a87fd226df8a5d644386e63ba61c430e9ae9ef0bd130ca8a96d194505062cb20f0dee9b4191fff7f4f5e7332e8e6cdb09c0d9219c9a90e03b0cc0f1cba9f7
data/README.md CHANGED
@@ -1,7 +1,9 @@
1
1
  Jekyll Tabs
2
2
  ===========
3
3
 
4
- This Jekyll plugin provides tags used to add tabs in your content.
4
+ This Jekyll plugin provides tags used to add tabs in your content. It is heavily inspired from https://github.com/clustergarage/jekyll-code-tabs.
5
+ * It works with multiple tab panels on the same page
6
+ * It does not require a specific javascript framework
5
7
 
6
8
  Installation
7
9
  ------------
@@ -120,3 +122,5 @@ hello:
120
122
  Here is the result:
121
123
 
122
124
  ![Image of Yaktocat](docs/tabs-example.png)
125
+
126
+ Characters before the first space must be the same between tabs of the same scope (log and data-struct in this example). Every characters following will be displayed as the tab label.
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Tabs
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
data/lib/jekyll-tabs.rb CHANGED
@@ -29,7 +29,7 @@ module Jekyll
29
29
 
30
30
  def initialize(block_name, markup, tokens)
31
31
  super
32
- markups = markup.split(' ')
32
+ markups = markup.split(' ', 2)
33
33
  if markups.length != 2
34
34
  raise SyntaxError.new("Block #{block_name} requires 2 attributes")
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-tabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Baptiste Bouchereau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-24 00:00:00.000000000 Z
11
+ date: 2020-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll