Emacs: Add AsciiDoc-snippet: quote.

This commit is contained in:
tastytea 2019-11-24 21:22:32 +01:00
parent 09eefb3dcc
commit 783a447d50
2 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
;; Time-stamp: <2019-11-20T17:28:16+00:00>
;; Time-stamp: <2019-11-24T20:22:08+00:00>
;;; Commentary:
@ -54,6 +54,8 @@
)
(use-package adoc-mode
:after (yasnippet)
:custom-face
;; Style headers.
(markup-title-0-face ((t (:inherit markup-gen-face :height 1.4
@ -88,6 +90,7 @@
"8/:[dD[aA][tT][eE]: +%:y-%02m-%02d\n")
;; (setq-local time-stamp-time-zone nil) ; Set to local TZ.
))
(adoc-mode . yas-minor-mode) ; Enable yasnippets.
)
(use-package markdown-mode

9
snippets/adoc-mode/quote Normal file
View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: quote
# key: quote
# --
[quote, attribution = $1]
[quote, citetitle = $2]
____
$3footnote:[$4]
____