markita 6.0.250327 → 6.0.251015
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/CREDITS.md +20 -0
- data/README.md +5 -1
- data/lib/markita/markdown/attributes.rb +1 -1
- data/lib/markita/markdown/blockquote.rb +3 -0
- data/lib/markita/markdown/code.rb +1 -1
- data/lib/markita/markdown/definitions.rb +1 -1
- data/lib/markita.rb +1 -1
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a67b87c8ca2df79de3be5215aed19ab62ca227d98605929b64d45a14e1ff98
|
4
|
+
data.tar.gz: 86d8fa6166dbc759f1e456799123baa492deaacaab3c7d248526785598252d0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 998cc045c833cb56073639f7bf40f61a1234338453d12f43f0c5c853473910cf4d9d04a74869df6f7150e2237464a85255506f1fa4e9152e60a048ee7ac64593
|
7
|
+
data.tar.gz: 1101459bb6b8ac05fb3c9dd7c45c5c3102e568f9d73e5b100daf95dd54c69eba7c4d364667053903184cf9348ab2796afc3290e33f06ef58c6890efecede33e9
|
data/CREDITS.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Credits
|
2
|
+
|
3
|
+
We want to credit where credit is due.
|
4
|
+
This project owes thanks to the authors of this repository (see their commits),
|
5
|
+
the third-party libraries we rely on (check the dependencies),
|
6
|
+
and the diffuse pool of ideas and inspirations that shaped it.
|
7
|
+
|
8
|
+
We welcome contributions to this list!
|
9
|
+
If you feel someone or something is missing,
|
10
|
+
please submit a pull request with the suggested addition.
|
11
|
+
|
12
|
+
+ [VimWiki](https://github.com/vimwiki/vimwiki): VimWiki is a personal wiki for Vim
|
13
|
+
+ [GitHub Markdown](https://docs.github.com/en/get-started/writing-on-github): Main specs target
|
14
|
+
|
15
|
+
And then many alternate specs for Markdown:
|
16
|
+
|
17
|
+
* [adam-p: Markdown-Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)
|
18
|
+
* [lifeparticle: Markdown-Cheatsheed](https://github.com/lifeparticle/Markdown-Cheatsheet)
|
19
|
+
* [CommonMark Spec](https://spec.commonmark.org/)
|
20
|
+
* [CommonMark Cheat Sheet](https://commonmark.org/help/)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Markita
|
2
2
|
|
3
|
-
* [VERSION 6.0.
|
3
|
+
* [VERSION 6.0.251015](https://github.com/carlosjhr64/markita/releases)
|
4
4
|
* [github](https://www.github.com/carlosjhr64/markita)
|
5
5
|
* [rubygems](https://rubygems.org/gems/markita)
|
6
6
|
|
@@ -14,6 +14,8 @@ With many extra non-standard features.
|
|
14
14
|
```console
|
15
15
|
$ gem install markita
|
16
16
|
```
|
17
|
+
* Required Ruby version: `>= 3.4`
|
18
|
+
|
17
19
|
## HELP
|
18
20
|
```console
|
19
21
|
$ markita --help
|
@@ -331,3 +333,5 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
331
333
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
332
334
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
|
333
335
|
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
336
|
+
|
337
|
+
## [CREDITS](CREDITS.md)
|
@@ -20,6 +20,7 @@ module Markita
|
|
20
20
|
# category: method
|
21
21
|
# :reek:DuplicateMethodCall :reek:TooManyStatements
|
22
22
|
# rubocop:disable Metrics/MethodLength
|
23
|
+
# rubocop:disable Lint/UselessAssignment
|
23
24
|
def blockquote
|
24
25
|
return false unless (level, quote = Blockquote.level_quote(@line))
|
25
26
|
|
@@ -27,6 +28,7 @@ module Markita
|
|
27
28
|
current = level
|
28
29
|
while current.eql?(level)
|
29
30
|
@html << "#{inline(quote)}\n"
|
31
|
+
# `quote` is being used... Code is just gnarly.
|
30
32
|
current, quote = Blockquote.level_quote(line_gets)
|
31
33
|
next unless current&.>(level)
|
32
34
|
|
@@ -36,6 +38,7 @@ module Markita
|
|
36
38
|
@html << "</blockquote>\n"
|
37
39
|
true
|
38
40
|
end
|
41
|
+
# rubocop:enable Lint/UselessAssignment
|
39
42
|
# rubocop:enable Metrics/MethodLength
|
40
43
|
end
|
41
44
|
end
|
data/lib/markita.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.251015
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CarlosJHR64
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-10-15 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: colorize
|
@@ -55,40 +55,40 @@ dependencies:
|
|
55
55
|
requirements:
|
56
56
|
- - "~>"
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '4.
|
58
|
+
version: '4.6'
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.
|
61
|
+
version: 4.6.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '4.
|
68
|
+
version: '4.6'
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 4.
|
71
|
+
version: 4.6.0
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: sinatra
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
76
|
- - "~>"
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: '4.
|
78
|
+
version: '4.2'
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 4.
|
81
|
+
version: 4.2.1
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '4.
|
88
|
+
version: '4.2'
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 4.
|
91
|
+
version: 4.2.1
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: webrick
|
94
94
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,6 +119,7 @@ executables:
|
|
119
119
|
extensions: []
|
120
120
|
extra_rdoc_files: []
|
121
121
|
files:
|
122
|
+
- CREDITS.md
|
122
123
|
- README.md
|
123
124
|
- bin/markita
|
124
125
|
- data/emojis.tsv
|
@@ -178,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
179
|
- !ruby/object:Gem::Version
|
179
180
|
version: '0'
|
180
181
|
requirements: []
|
181
|
-
rubygems_version: 3.6.
|
182
|
+
rubygems_version: 3.6.9
|
182
183
|
specification_version: 4
|
183
184
|
summary: A Sinatra Markdown server.
|
184
185
|
test_files: []
|