mdless 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/mdless/converter.rb +1 -3
- 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: 379923deb11ea6811d911e3bc0f1ddacbdc6bbb22ee736997e2bbab70fdb2406
|
|
4
|
+
data.tar.gz: 7fcafa17a1fc67a956a96f8d78ebb29df1b3d5e265ee5265cbd09155894b82c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06e5f6aa1559b74e033f64bd7837ee0a60822e54f8f635214fdddeaf39f24a22374c694789f01eba42e854861af00ddac76b789ecc442a0693edf02d888a5fd5
|
|
7
|
+
data.tar.gz: ae01fc4be978252f20be52a42b687d248755a908fd9701d218ce40ae27b7e3b9ded398023b3e4fed2a706532d326bd4bb8ef6c4f62b741761f6d7a5788a517fd
|
data/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# mdless
|
|
2
2
|
|
|
3
|
+
<!--README-->
|
|
3
4
|
`mdless` is a utility that provides a formatted and highlighted view of Markdown files in Terminal.
|
|
4
5
|
|
|
5
6
|
I often use iTerm2 in visor mode, so `qlmanage -p` is annoying. I still wanted a way to view Markdown files quickly and without cruft.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
<!--GITHUB--><!--END GITHUB-->
|
|
9
|
+
<!--JEKYLL {% gif /uploads/2015/08/mdless.gif %} -->
|
|
8
10
|
|
|
9
11
|
## Features
|
|
10
12
|
|
|
@@ -34,7 +36,7 @@ Some OSs are missing `tput`, which is necessary for mdless.
|
|
|
34
36
|
apt install ruby ncurses-utils
|
|
35
37
|
gem install mdless
|
|
36
38
|
|
|
37
|
-
## Usage
|
|
39
|
+
## Usage
|
|
38
40
|
|
|
39
41
|
`mdless [options] path` or `cat [path] | mdless`
|
|
40
42
|
|
|
@@ -112,4 +114,4 @@ Use 'r' to reverse foreground and background colors. `r white on_black` would di
|
|
|
112
114
|
To set a background color, use `on_[color]` with one of the 8 colors. This can be used with foreground colors in the same setting, e.g. `white on_black`.
|
|
113
115
|
|
|
114
116
|
Use 'd' (dark) to indicate the darker version of a foreground color. On macOS (and possibly other systems) you can use the brighter version of a color by prefixing with "intense", e.g. `intense_red` or `on_intense_black`.
|
|
115
|
-
|
|
117
|
+
<!--END README-->
|
data/lib/mdless/converter.rb
CHANGED
|
@@ -1009,7 +1009,7 @@ module CLIMarkdown
|
|
|
1009
1009
|
if @options[:pager]
|
|
1010
1010
|
page(out)
|
|
1011
1011
|
else
|
|
1012
|
-
$stdout.
|
|
1012
|
+
$stdout.print (out.rstrip)
|
|
1013
1013
|
end
|
|
1014
1014
|
end
|
|
1015
1015
|
|
|
@@ -1052,8 +1052,6 @@ module CLIMarkdown
|
|
|
1052
1052
|
''
|
|
1053
1053
|
end
|
|
1054
1054
|
|
|
1055
|
-
puts [pg, args]
|
|
1056
|
-
|
|
1057
1055
|
[pg, args]
|
|
1058
1056
|
end
|
|
1059
1057
|
|
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: 1.0.
|
|
4
|
+
version: 1.0.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brett Terpstra
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-08-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|