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 +4 -4
- data/CHANGELOG.md.orig +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/snibbets/version.rb +1 -1
- data/lib/snibbets.rb +2 -2
- data/snibbets.taskpaper +13 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8faa764639ff4c20cf7527936e4b4f8c5338bebda2a1711150bf395ea9731bf
|
4
|
+
data.tar.gz: 50dca9964625bc96e539818cf650d295f568b0870742d156bd3036f2d9847738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0c1a0ad3b519d054af3874aaf3a9f7a2b89bc2b3c287f6b8a21eae5344ee3eb29f6699d63da2ad2489ad5e0b0c5708f3c931328fd432e98fe6ec175a68d6742
|
7
|
+
data.tar.gz: '0099e0d3d525d033d8ea70187979df6849e67cbfe632cd1967154c9b6ba50212255ffb9daf2a5e4549538b256e627d9c384cfc139fe6e0e9137201839af93cec'
|
data/CHANGELOG.md.orig
CHANGED
data/Gemfile.lock
CHANGED
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.
|
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)
|
data/lib/snibbets/version.rb
CHANGED
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 "
|
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 "
|
297
|
+
warn "### #{snippet['title']} ###"
|
298
298
|
# warn "# #{'-' * snippet['title'].length}"
|
299
299
|
print(snippet['code'], filepath, lang)
|
300
300
|
puts
|
data/snibbets.taskpaper
ADDED
@@ -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.
|
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
|