mdless 2.1.54 → 2.1.56
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 +4 -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: e29eaccc08998a3969e753da22f591defe6c33e6c7d33083810fb3ab83d5679a
|
4
|
+
data.tar.gz: 4e65b9b35f6135fd6595a3edf9c98f1ce33d6f6b2d5019d777f870339b046858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c204b8f2023b1c1f431aa75e412717468ff418cbbe5c8a57c173a9cb352410e3e4c3d7b901ab2f65a8688a09eb946366594f2401debc7faeb23cc663869399c
|
7
|
+
data.tar.gz: 96b9aaabeef2b7ea83a3d0417533fa5b42ff1cb17638a6476cfe0f953a11a3e8cfadd31a725fd59b2d128eecb35ce04a1bdfdd212edd77bb66596a0574c7013e
|
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' => '😶',
|
@@ -143,6 +145,7 @@ module CLIMarkdown
|
|
143
145
|
'thought_balloon' => '💭',
|
144
146
|
'tongue' => '👅',
|
145
147
|
'poop' => '💩',
|
148
|
+
'shit' => '💩',
|
146
149
|
'cold_sweat' => '😰',
|
147
150
|
'gem' => '💎',
|
148
151
|
'gesturing_OK_man' => '🙆♂',
|
@@ -1406,6 +1409,7 @@ module CLIMarkdown
|
|
1406
1409
|
'call_me_hand' => '🤙',
|
1407
1410
|
'index_pointing_up' => '☝',
|
1408
1411
|
'leftfacing_fist' => '🤛',
|
1412
|
+
'punch' => '👊',
|
1409
1413
|
'rightfacing_fist' => '🤜',
|
1410
1414
|
'palms_up_together' => '🤲',
|
1411
1415
|
'handshake' => '🤝',
|
data/lib/mdless/version.rb
CHANGED