mdless 2.1.12 → 2.1.13

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
  SHA256:
3
- metadata.gz: 3fbc37210004d25b7867c566bcc21bfa174a9e27bf74a1113659bc8809b187e8
4
- data.tar.gz: 493d48b6061f21e408b0ae1ff43cdb47027bc07039e3678876a958c62177f42f
3
+ metadata.gz: 83167ef6642c2dd16d917eb3bb4f41c7c2ac19dc73ba4450a06bd41f3d044294
4
+ data.tar.gz: 5b172f2f5572d107d7f8c0610fb80932faf289dd5aa1e46ed290bcb57880c916
5
5
  SHA512:
6
- metadata.gz: f9b47996f59764d9324c7f3c63d3bfa62f392b2b71c1e93c4d49bb093af252c6a51baa60ca8d5d43e7d98139bfe9e9c20c868f5a43f136df645514d92deccc6f
7
- data.tar.gz: 6327ebca9f23e4e0fa59c0911076d09e12299c3efbfb9c46e096416b3b4fb642a460e90ff52429c739c2ed3f53da1f8f589fe479797058e9160c60427b10d7db
6
+ metadata.gz: c63aa55d2e53d7773c4208868d1bfffecaf93224da8843f11a2a74fb339a77bdb2143a54144ed09deb4253e645c484c017e42ea69196f03163b83331301a6f72
7
+ data.tar.gz: 1b3ee4f2e46e131d2c2e7a3f015f3eb9dfc57f0382863794f9130e00e34a64d359a9e0b05074568a3c8ec133fcd534ec680df0efb9f4c02c82f6a1728fff2fa4
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
+ 2.1.13
2
+ : Remove debugging statement
3
+
1
4
  2.1.12
5
+ : Fix list indentation when nesting
2
6
 
3
7
  2.1.11
4
8
  : Better regex for highlighting raw HTML
data/README.md CHANGED
@@ -147,7 +147,7 @@ You can also use 3 or 6-digit hex codes in place of color names. These can be pr
147
147
 
148
148
  Some extra (non-color) settings are available for certain keys, e.g. `pad_char` to define the right padding character used on level 1 and 2 headlines. Note that you can change the [Pygments](http://pygments.org/) theme used for syntax highlighting with the code_block.pygments_theme setting. For a list of available styles (assuming you have Pygments installed), use `pygmentize -L styles`.
149
149
 
150
- The display of characters around emphasis and code spans can be configured. By default, the surrounding character for bold is `**`, italic is `_`, and code span is \`. You can leave these keys empty to not display characters at all. For triple-emphasized text, the text will be surrounded by italic and bold characters, in that order.
150
+ The display of characters around emphasis and code spans can be configured. By default, the surrounding character for bold is `**`, italic is `_`, and code span is a backtick. You can leave these keys empty to not display characters at all. For triple-emphasized text, the text will be surrounded by italic and bold characters, in that order.
151
151
 
152
152
  ```yaml
153
153
  emphasis:
@@ -602,7 +602,7 @@ module Redcarpet
602
602
  def indent_lines(input, spaces)
603
603
  return nil if input.nil?
604
604
 
605
- indent = spaces.scan(/\t/).count
605
+ indent = spaces.scan(/ /).count
606
606
 
607
607
  lines = input.split(/\n/)
608
608
  line1 = lines.shift
@@ -1073,7 +1073,6 @@ module Redcarpet
1073
1073
  input = reference_links(input) if MDLess.options[:links] == :reference || MDLess.options[:links] == :paragraph
1074
1074
  # lists
1075
1075
  input = fix_lists(input)
1076
- puts input
1077
1076
  fix_colors(input)
1078
1077
  end
1079
1078
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CLIMarkdown
4
- VERSION = '2.1.12'
4
+ VERSION = '2.1.13'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdless
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.12
4
+ version: 2.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra