yatex

diff yahtml.el @ 594:638284a7a9d0

[TEST] Prefer 'undicided to 'no-conversion
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 29 Sep 2022 10:00:57 +0900
parents 9e07513fc2ef
children 722004cc4375
line diff
     1.1 --- a/yahtml.el	Wed Sep 11 09:27:10 2019 +0900
     1.2 +++ b/yahtml.el	Thu Sep 29 10:00:57 2022 +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."