779c38c6447ec5ba608a67d552de77087bf2d575 — HokieGeek 1 year, 1 month ago
Making this template a plugin
4 files changed, 54 insertions(+), 0 deletions(-)

A license.tid
A macro.tid
A plugin.info
A readme.tid
A  => license.tid +23 -0
@@ 1,23 @@
+title: $:/plugins/hokiegeek/quick-tags/license
+
+MIT License
+
+Copyright (c) 2018 HokieGeek
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

A  => macro.tid +15 -0
@@ 1,15 @@
+created: 20181024014308060
+list-after: $:/core/ui/EditTemplate/tags
+modified: 20181027141455113
+tags: $:/tags/EditTemplate
+title: $:/plugins/hokiegeek/quick-tags/macro
+type: text/vnd.tiddlywiki
+
+<div style="padding: 5px 6px 10px;">
+    <$list filter="[tag[$:/tags/QuickTag]!has[draft.of]sort[title]]-[list[!!tags]]">
+        <$button class="tc-btn-invisible">
+             <$action-sendmessage $message="tm-add-tag" $param=<<currentTiddler>> />
+             <$macrocall $name="tag-pill" tag=<<currentTiddler>> />
+         </$button>
+    </$list>
+</div>

A  => plugin.info +10 -0
@@ 1,10 @@
+{
+    "title": "$:/plugins/hokiegeek/quick-tags",
+    "description": "Allows you to add tags which can be accessed quickly when editing",
+    "author": "hokiegeek",
+    "version": "1.0.0",
+    "core-version": ">=5.1.17",
+    "source": "https://gitlab.com/HokieGeek/tw5-quick-tags",
+    "plugin-type": "plugin",
+    "list": "readme"
+}

A  => readme.tid +6 -0
@@ 1,6 @@
+title: $:/plugins/hokiegeek/quick-tags/readme
+
+The plugin $:/plugins/hokiegeek/quick-tags
+allows you to add tags which can be accessed quickly when editing.
+
+To add a tag to the quick list, tag it with `$:/tags/QuickTag`