Emacs: Add AsciiDoc-snippet: quote.
This commit is contained in:
parent
09eefb3dcc
commit
783a447d50
|
@ -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
9
snippets/adoc-mode/quote
Normal file
|
@ -0,0 +1,9 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: quote
|
||||
# key: quote
|
||||
# --
|
||||
[quote, attribution = $1]
|
||||
[quote, citetitle = $2]
|
||||
____
|
||||
$3footnote:[$4]
|
||||
____
|
Loading…
Reference in New Issue
Block a user