diff --git a/md4tj_parse.el b/md4tj_parse.el index 8f28f8f..359a06e 100644 --- a/md4tj_parse.el +++ b/md4tj_parse.el @@ -46,7 +46,7 @@ ;; Then videos (replace-regexp-in-string "!!\\[\\([^\\[]*\\)](\\([^\\[]*\\))" - (concat (md4tj-begin-tag "video" (list '("src" "\\2") '("type" "video/webm"))) "\\1" (md4tj-end-tag "video")) + (concat (md4tj-begin-tag "video" (list '("src" "\\2") '("type" "video/webm") '("controls" "true"))) "\\1" (md4tj-end-tag "video")) ;; Then emphasis (replace-regexp-in-string "\\*\\(.*\\)\\*" diff --git a/test_css.css b/test_css.css index adba509..f783083 100644 --- a/test_css.css +++ b/test_css.css @@ -1 +1,6 @@ - body {background-color: #00ff00;} +body {background-color: #00ff00;} + +video { + width: 100%; + height: auto; +}; diff --git a/test_file.html b/test_file.html index ab5568c..32e1444 100644 --- a/test_file.html +++ b/test_file.html @@ -2,6 +2,7 @@ + Test webpage @@ -10,6 +11,7 @@ +

Hello world!

Hello world!

Hello world!

@@ -20,7 +22,7 @@

Example website

Example image

-

+