yatex
changeset 583:d4831b3672f8
Add some html5 elements
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 01 Jul 2021 07:00:05 +0900 |
parents | f4c2dca86202 |
children | 907de32064c9 |
files | yahtml.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/yahtml.el Sat Feb 08 18:31:52 2020 +0900 1.2 +++ b/yahtml.el Thu Jul 01 07:00:05 2021 +0900 1.3 @@ -446,6 +446,7 @@ 1.4 ("option") ("datalist") 1.5 ;;HTML5 1.6 ("video") ("audio") ("figure") ("iframe") 1.7 + ("header") ("footer") ("article") ("section") ("nav") ("main") ("aside") 1.8 )) 1.9 1.10 (if yahtml-html4-strict 1.11 @@ -1714,6 +1715,9 @@ 1.12 (yahtml-make-optional-argument 1.13 "value" (yahtml-read-parameter "value")))) 1.14 1.15 +(defun yahtml::article () 1.16 + (setq yahtml-last-typeface-cmd "h1" yahtml-last-begend "h1")) 1.17 + 1.18 ;;; ---------- Simple tag ---------- 1.19 (defun yahtml-insert-tag (region-mode &optional tag) 1.20 "Insert <TAG> </TAG> and put cursor inside of them."