qiita-markdown 0.1.9 → 0.2.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
  SHA1:
3
- metadata.gz: 646c0bedfa5fea9408f5fe772ec60ad3d833b827
4
- data.tar.gz: a87e1268456c60fc54c65469e711ba03a1e8cc84
3
+ metadata.gz: 18d638587735e5c0a8a54758ad7d8634bc465df2
4
+ data.tar.gz: 8a2a396aa2d01e1cc3be5076f5f3ddd35c1bca6e
5
5
  SHA512:
6
- metadata.gz: 02035cc6cadbe363d2537606d89bdbb2027d5489d43e948b722b20a033bfe9fa8a23d9cd6c4a2852abf9fcbe2a02db1748af454b1638af54704c3d01bdfff705
7
- data.tar.gz: e0dc79ed2c31d8037801265d8008e5292736394889b63a2fbdac25cb8218b415bd5c72dcafe975e8115228aa78f8e0b187191caf69a0fc3e3ceb4a7b02476406
6
+ metadata.gz: e81ac934147cd1026162735a62478b6ca581ac9baaea2b4229a3d0c26e12ff2962f06c566b6e2b4e7f55d3416877ac15c5b1d96210f3a72428987da60bd5c9f9
7
+ data.tar.gz: 2d9485f532ad2a99199a9a1075db3dc811ff5f00fc45c5ce2f4b40a79b2a65385a71657329667a6f705228d47dbc3372635b3e908e4d5c4951b23b3979195dbd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.2.0
2
+ - Support text-align style on table syntax (thx @uribou)
3
+
1
4
  ## 0.1.9
2
5
  - Fix a bug that raised error while rendering links with absolute URI inside of `<sup>` tag (e.g. `<sup>[Qiita](http://qiita.com/)</sup>`)
3
6
 
@@ -74,6 +74,9 @@ module Qiita
74
74
  "td" => [
75
75
  "style",
76
76
  ],
77
+ "th" => [
78
+ "style",
79
+ ],
77
80
  all: [
78
81
  "abbr",
79
82
  "align",
@@ -1,5 +1,5 @@
1
1
  module Qiita
2
2
  module Markdown
3
- VERSION = "0.1.9"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -486,9 +486,9 @@ describe Qiita::Markdown::Processor do
486
486
  <table>
487
487
  <thead>
488
488
  <tr>
489
- <th>a</th>
490
- <th>b</th>
491
- <th>c</th>
489
+ <th style="text-align: left">a</th>
490
+ <th style="text-align: right">b</th>
491
+ <th style="text-align: center">c</th>
492
492
  </tr>
493
493
  </thead>
494
494
  <tbody>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qiita-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-25 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 2.2.2
245
+ rubygems_version: 2.4.5
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Qiita-specified markdown processor.