snibbets 2.0.20 → 2.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 838cf57396d811526575b70437246d11a928ee7f101a6886244c2b72bac971cb
4
- data.tar.gz: 916f26eea719fdb76e66c48607a6706dc945445cb6f4cb98e78d70f653f66109
3
+ metadata.gz: d8faa764639ff4c20cf7527936e4b4f8c5338bebda2a1711150bf395ea9731bf
4
+ data.tar.gz: 50dca9964625bc96e539818cf650d295f568b0870742d156bd3036f2d9847738
5
5
  SHA512:
6
- metadata.gz: 2d33041bfc65262b2efa01db238d9c38d1106504c9a554e41d4eeb88a01f7b8b949b5d42211c8c73330d6e7485a303622154f496fdff5be659087708fa79f148
7
- data.tar.gz: be09a90e72902d1c728386d0e4caadde049fd5a359a533b9c62284d30eaaeecdda6908b581df8c7fdf5487cd2db6175e2bb3dadbad0a23b242d4128f3aa5fba3
6
+ metadata.gz: b0c1a0ad3b519d054af3874aaf3a9f7a2b89bc2b3c287f6b8a21eae5344ee3eb29f6699d63da2ad2489ad5e0b0c5708f3c931328fd432e98fe6ec175a68d6742
7
+ data.tar.gz: '0099e0d3d525d033d8ea70187979df6849e67cbfe632cd1967154c9b6ba50212255ffb9daf2a5e4549538b256e627d9c384cfc139fe6e0e9137201839af93cec'
data/CHANGELOG.md.orig CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.0.21
2
+
3
+ 2023-04-16 09:04
4
+
5
+ #### IMPROVED
6
+
7
+ - Use leading and trailing hashes to make snippet titles more obvious when outputting All Snippets
8
+
1
9
  ### 2.0.20
2
10
 
3
11
  2023-04-16 08:31
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snibbets (2.0.20)
4
+ snibbets (2.0.21)
5
5
  tty-which (~> 0.5, >= 0.5.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -155,7 +155,7 @@ Snibbet's implementation of Skylighting has limited but better-looking themes, a
155
155
  ### Usage
156
156
 
157
157
  ```
158
- Snibbets v2.0.20
158
+ Snibbets v2.0.21
159
159
 
160
160
  Usage: snibbets [options] query
161
161
  -a, --all If a file contains multiple snippets, output all of them (no menu)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Snibbets
4
- VERSION = '2.0.20'
4
+ VERSION = '2.0.21'
5
5
  end
data/lib/snibbets.rb CHANGED
@@ -272,7 +272,7 @@ module Snibbets
272
272
 
273
273
  snippets.each do |snippet|
274
274
  lang = snippet['language']
275
- warn "# #{snippet['title']}"
275
+ warn "### #{snippet['title']} ###"
276
276
  # warn "# #{'-' * snippet['title'].length}"
277
277
  print(snippet['code'], filepath, lang)
278
278
  puts
@@ -294,7 +294,7 @@ module Snibbets
294
294
 
295
295
  snippets.each do |snippet|
296
296
  lang = snippet['language']
297
- warn "# #{snippet['title']}"
297
+ warn "### #{snippet['title']} ###"
298
298
  # warn "# #{'-' * snippet['title'].length}"
299
299
  print(snippet['code'], filepath, lang)
300
300
  puts
@@ -0,0 +1,13 @@
1
+ Inbox:
2
+ - handle multiple code blocks within a section separately for highlighting @maybe @na
3
+ If a header contains multiple snippets, create an array with a language specifier for each snippet, and then pass the array to the print function to handle individually highlighting each code block. Have a special language specifier for blockquote notes to avoid highlighting them at all.
4
+ snibbets:
5
+ Feature Requests:
6
+ Ideas:
7
+ Bugs:
8
+ Archive:
9
+ Search Definitions:
10
+ Top Priority @search(@priority = 5 and not @done)
11
+ High Priority @search(@priority > 3 and not @done)
12
+ Maybe @search(@maybe)
13
+ Next @search(@na and not @done and not project = "Archive")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snibbets
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.20
4
+ version: 2.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
@@ -249,6 +249,7 @@ files:
249
249
  - lib/themes/solarized-light.theme
250
250
  - lib/themes/vim-dark.theme
251
251
  - snibbets.gemspec
252
+ - snibbets.taskpaper
252
253
  homepage: https://github.com/ttscoff/snibbets
253
254
  licenses:
254
255
  - MIT