Make headlines bold in Markdown and AssciiDoc.
This commit is contained in:
parent
e3d7f5c51d
commit
23f7d628b9
30
init.el
30
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; init.el --- tastytea's Emacs init file.
|
||||
;; Time-stamp: <2019-09-23T14:28:01+00:00>
|
||||
;; Time-stamp: <2019-09-23T17:13:08+00:00>
|
||||
|
||||
;;; Commentary:
|
||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||
|
@ -994,14 +994,19 @@ With argument, do this that many times."
|
|||
("\\.adoc\\'" . adoc-mode)
|
||||
:custom-face
|
||||
;; Style headers.
|
||||
(markup-title-0-face ((t (:inherit markup-gen-face :height 1.4))))
|
||||
(markup-title-1-face ((t (:inherit markup-gen-face :height 1.3))))
|
||||
(markup-title-2-face ((t (:inherit markup-gen-face :height 1.2))))
|
||||
(markup-title-0-face ((t (:inherit markup-gen-face :height 1.4
|
||||
:weight bold))))
|
||||
(markup-title-1-face ((t (:inherit markup-gen-face :height 1.3
|
||||
:weight bold))))
|
||||
(markup-title-2-face ((t (:inherit markup-gen-face :height 1.2
|
||||
:weight bold))))
|
||||
(markup-title-3-face ((t (:inherit markup-gen-face :height 1.1
|
||||
:weight bold))))
|
||||
(markup-title-4-face ((t (:inherit markup-gen-face :height 1.0
|
||||
:weight bold
|
||||
:underline t))))
|
||||
(markup-title-5-face ((t (:inherit markup-gen-face :height 1.0))))
|
||||
(markup-title-5-face ((t (:inherit markup-gen-face :height 1.0
|
||||
:weight bold))))
|
||||
;; Enlarge meta-data to the same size as the other text.
|
||||
(markup-meta-face ((t (:inherit font-lock-comment-face))))
|
||||
(markup-secondary-text-face ((t (:inherit markup-gen-face :height 1.0
|
||||
|
@ -1025,25 +1030,26 @@ With argument, do this that many times."
|
|||
:custom-face
|
||||
;; Style headers.
|
||||
(markdown-header-face-1 ((t (:inherit markdown-header-face :height 1.4
|
||||
:weight normal))))
|
||||
:weight bold))))
|
||||
(markdown-header-face-2 ((t (:inherit markdown-header-face :height 1.3
|
||||
:weight normal))))
|
||||
:weight bold))))
|
||||
(markdown-header-face-3 ((t (:inherit markdown-header-face :height 1.2
|
||||
:weight normal))))
|
||||
:weight bold))))
|
||||
(markdown-header-face-4 ((t (:inherit markdown-header-face :height 1.1
|
||||
:weight bold))))
|
||||
(markdown-header-face-5 ((t (:inherit markdown-header-face :height 1.0
|
||||
:weight normal :underline t))))
|
||||
:weight bold :underline t))))
|
||||
(markdown-header-face-6 ((t (:inherit markdown-header-face :height 1.0
|
||||
:weight normal))))
|
||||
:weight bold))))
|
||||
(markdown-header-face-7 ((t (:inherit markdown-header-face :height 1.0
|
||||
:weight normal))))
|
||||
:weight bold))))
|
||||
:mode
|
||||
(("README\\.md\\'" . gfm-mode)
|
||||
("\\.md\\'" . markdown-mode)
|
||||
("\\.markdown\\'" . markdown-mode))
|
||||
:hook
|
||||
(markdown-mode . auto-fill-mode)) ; Wrap at fill-column.
|
||||
(markdown-mode . auto-fill-mode) ; Wrap at fill-column.
|
||||
)
|
||||
|
||||
(use-package crontab-mode
|
||||
:custom-face
|
||||
|
|
Loading…
Reference in New Issue
Block a user