[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/svg-tag-mode 81cb79335c 02/63: Added installation instr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/svg-tag-mode 81cb79335c 02/63: Added installation instructions |
Date: |
Mon, 27 Dec 2021 15:57:55 -0500 (EST) |
branch: externals/svg-tag-mode
commit 81cb79335c06a7320db7f534daf0b3c5ec82b09c
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Added installation instructions
---
README.org | 14 +++++++++++++-
example.el | 4 ++++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index 8775f518de..33c8df51cf 100644
--- a/README.org
+++ b/README.org
@@ -1,6 +1,18 @@
-*** SVG tag minor mode
+** SVG tag minor mode (Emacs)
A small minor mode to replace keywords or regular expression with SVG rounded
box labels. See [[file:/example.el][example.el]] for example usage.
+*** Installation
+
+#+begin_src elisp
+(quelpa '(svg-tag-mode :repo "rougier/svg-tag-mode"
+ :fetcher github
+ :files ("svg-tag-mode.el")))
+#+end_src
+
+*** Demonstration
+
+Open [[file:/example.el][example.el]] and evaluate buffer
+
[[./screenshot.png]]
diff --git a/example.el b/example.el
index cc4c1343dc..51dcf098d3 100644
--- a/example.el
+++ b/example.el
@@ -14,6 +14,8 @@
;; For a full copy of the GNU General Public License
;; see <http://www.gnu.org/licenses/>.
+(require 'svg-tag-mode)
+
(defface svg-tag-note-face
'((t :foreground "black" :background "white" :box "black"
:family "Roboto Mono" :weight light :height 120))
@@ -42,6 +44,8 @@
("\\(=[0-9a-zA-Z- ]+?=\\)" 1
`(face nil display ,(svg-tag-keyboard (match-string 0))))))
+(svg-tag-mode 1)
+
;; A tag function using SVG to display a rounded box with outer and inner
;; padding and a controllable box radius. The resulting SVG is perfectly
;; aligned with regular text such that a =TAG= can be inserted and edited
- [elpa] branch externals/svg-tag-mode created (now e2481ae15a), ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 81cb79335c 02/63: Added installation instructions,
ELPA Syncer <=
- [elpa] externals/svg-tag-mode fe508895e1 08/63: Removed spurious backquote, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode ffc6631dd2 16/63: Cosmetic, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 7a4e0df952 17/63: Added org-mode example, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 2bcf213527 26/63: Added global mode, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 3c38d60cb7 06/63: Merge pull request #3 from tsuu32/fix/load-subr-x, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode d62ae5bc4d 03/63: Typo, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 664fbec919 01/63: First version, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 63d8710d1a 04/63: Better example syntax, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 4fe6ce8681 13/63: Typo, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 4894900f52 10/63: Merge pull request #6 from a13/main, ELPA Syncer, 2021/12/27