joplin 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/joplin +11 -2
- data/lib/joplin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2c49e745ffa9c4f3956e5b5eb8a58f8bcba5aaa253229d571a3fcee4ea282e9
|
4
|
+
data.tar.gz: 79987f1e955121ceb1cc6c28c48d72dd7af0b8ab81024079ff5f4a6420e37ad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74cf728f619e860296483243a61253aa968790c2a55f18114842635e9bb6341f83bdc8548324d7b03ecde6c72069bd35a887143236a0ad6361eb9ad0cb0e642e
|
7
|
+
data.tar.gz: 9d7d02c45a3c3ff606546425057eb1f5b5d1bfa9fe605f9f45492ddeb06f1e598601b09d76fc198f05a9dd4744d41ec7d3f23db2b787f40ea09e7536d94b50a4
|
data/bin/joplin
CHANGED
@@ -44,9 +44,18 @@ class MyCLI < Thor
|
|
44
44
|
notes = notebook.notes
|
45
45
|
new_note = Joplin::Note.new
|
46
46
|
new_note.title = query
|
47
|
-
divider = %Q(
|
47
|
+
divider = %Q(
|
48
48
|
|
49
|
-
|
49
|
+
<svg height="50" width="460">
|
50
|
+
<style> .line { stroke-width: 1px; fill: black; stroke: black; } </style>
|
51
|
+
<g id="triangle"><path d="M0 30 L200 25 Q 220 25 200 40 Z" class="line" /></g>
|
52
|
+
<use xlink:href="#triangle" transform="scale(-1 1) translate(-450 0)"/>
|
53
|
+
<circle cx="225" cy="32" r="8" class="line"/>
|
54
|
+
</svg>
|
55
|
+
|
56
|
+
)
|
57
|
+
|
58
|
+
new_note.body = notes.map { |n| "\# #{n.title}\n\n#{n.body}" }.join(divider)
|
50
59
|
new_note.save!
|
51
60
|
puts "Saved: #{new_note.title} with id: #{new_note.id}"
|
52
61
|
end
|
data/lib/joplin/version.rb
CHANGED