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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/mdless/console.rb +1 -2
- data/lib/mdless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83167ef6642c2dd16d917eb3bb4f41c7c2ac19dc73ba4450a06bd41f3d044294
|
4
|
+
data.tar.gz: 5b172f2f5572d107d7f8c0610fb80932faf289dd5aa1e46ed290bcb57880c916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c63aa55d2e53d7773c4208868d1bfffecaf93224da8843f11a2a74fb339a77bdb2143a54144ed09deb4253e645c484c017e42ea69196f03163b83331301a6f72
|
7
|
+
data.tar.gz: 1b3ee4f2e46e131d2c2e7a3f015f3eb9dfc57f0382863794f9130e00e34a64d359a9e0b05074568a3c8ec133fcd534ec680df0efb9f4c02c82f6a1728fff2fa4
|
data/CHANGELOG.md
CHANGED
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
|
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:
|
data/lib/mdless/console.rb
CHANGED
@@ -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(
|
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
|
data/lib/mdless/version.rb
CHANGED