mdless 2.1.54 → 2.1.55
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mdless/console.rb +2 -2
- data/lib/mdless/emoji.rb +2 -0
- 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: aecedf77946da4026d05871557d05cddbe79a2baf7333f2a5b29afe22436e3e3
|
4
|
+
data.tar.gz: db52bfc733a516d8a6ef7b408d9d5ba5c9e3bcc831fdaf66aec34286774b61c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c810d87c2b195d36aaa51dcd0ce04e4a22d383272a9241e05a7e299101ae2688143b6cbf2b81a7530466b332f4e46859223b6c69aeaea20e7dbb7dd137cecf3
|
7
|
+
data.tar.gz: 90f889c776068b06c90ab006934fb4b34594a9deb7ea4cae0e81e0947514d66a5893f43a648aebdc6ea116b20413188ecfdb9e408f2605d88ed24960135645a4
|
data/lib/mdless/console.rb
CHANGED
@@ -24,7 +24,7 @@ module Redcarpet
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def xc
|
27
|
-
x + color(
|
27
|
+
x + color('text')
|
28
28
|
end
|
29
29
|
|
30
30
|
def x
|
@@ -899,7 +899,7 @@ module Redcarpet
|
|
899
899
|
end
|
900
900
|
|
901
901
|
# emojis
|
902
|
-
input.gsub!(/(?<=\s|\A):(?<emoji
|
902
|
+
input.gsub!(/(?<=\s|\A):(?<emoji>\S+):/) do
|
903
903
|
m = Regexp.last_match
|
904
904
|
emoji = CLIMarkdown::Emoji.convert_emoji(m['emoji'])
|
905
905
|
"#{emoji}#{xc}"
|
data/lib/mdless/emoji.rb
CHANGED
@@ -45,6 +45,7 @@ module CLIMarkdown
|
|
45
45
|
'recycle' => '♻',
|
46
46
|
'wink' => '😉',
|
47
47
|
'thumbsup' => '👍',
|
48
|
+
'+1' => '👍',
|
48
49
|
'pray' => '🙏',
|
49
50
|
'relieved' => '😌',
|
50
51
|
'notes' => '🎶',
|
@@ -130,6 +131,7 @@ module CLIMarkdown
|
|
130
131
|
'raising_hand_man' => '🙋♂',
|
131
132
|
'raising_hand' => '🙋',
|
132
133
|
'thumbsdown' => '👎',
|
134
|
+
'-1' => '👎',
|
133
135
|
'dancer' => '💃',
|
134
136
|
'musical_note' => '🎵',
|
135
137
|
'no_mouth' => '😶',
|
data/lib/mdless/version.rb
CHANGED