mdless 2.1.42 → 2.1.44
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 +1 -1
- data/lib/mdless/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dc43970cd07331cf14e92986ab2a746e346d659c73daa78f78bd9ecb703d87e
|
4
|
+
data.tar.gz: 164d0c3bc168dd654c928c0727ddd96e6972098c6a59ba6659a16b14f2fdfd99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 318437aec49a4259d1108bec7fd30dca9429db9ae048c33839da92b0eaaa3eaf733683b1a317bc4e89f3fc7c14b268376130090d0fbe8a9226f9da87c79e67f0
|
7
|
+
data.tar.gz: 90f1705e25d710e1e669d68fad39bb573cdedd16c9a10103aa240ffdb84d2af9e0095f1c7131c3fb43b983f0f4ac53a836bef75a4280c473347a2ebbe222efa3
|
data/lib/mdless/console.rb
CHANGED
@@ -1001,7 +1001,7 @@ module Redcarpet
|
|
1001
1001
|
tmp_img = File.basename(img_path)
|
1002
1002
|
img = `chafa #{term} "#{tmp_img}"`
|
1003
1003
|
pre = alt_text ? " #{c(%i[d blue])}[#{alt_text.strip}]\n" : ''
|
1004
|
-
post = title ? "\n #{c(%i[b blue])}-- #{
|
1004
|
+
post = title ? "\n #{c(%i[b blue])}-- #{title} --" : ''
|
1005
1005
|
result = pre + img + post
|
1006
1006
|
Dir.chdir('..')
|
1007
1007
|
FileUtils.rm_r '.mdless_tmp', force: true
|
data/lib/mdless/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|