# HG changeset patch # User HIROSE Yuuji # Date 1530341219 -32400 # Node ID 18f7f10566bf015b9c7de63f6423f4c47bad5746 # Parent 59cd8278a5b5e1c2725f52178df69d3a655c12e2 Add link notation: "video=URL" diff -r 59cd8278a5b5 -r 18f7f10566bf examples/common/default/default.css --- a/examples/common/default/default.css Tue Jun 26 07:55:41 2018 +0900 +++ b/examples/common/default/default.css Sat Jun 30 15:46:59 2018 +0900 @@ -98,6 +98,8 @@ white-space: pre-wrap; } table.bloghead tr.preface td, +table.blog_replies video, +table.blog_replies iframe, table.blog_replies ul, .blog_replies tr ul, .blog_replies td ul { text-align: left; white-space: normal; margin: 1ex 0; } diff -r 59cd8278a5b5 -r 18f7f10566bf s4-funcs.sh --- a/s4-funcs.sh Tue Jun 26 07:55:41 2018 +0900 +++ b/s4-funcs.sh Sat Jun 30 15:46:59 2018 +0900 @@ -459,6 +459,7 @@ # s4 specific notation: # ^href=URL # ^iframe=URL + # ^video=URL # [[#NUM]] - Jump to article ID NUM # [[#Keyword] - Jump to keywrod search for "Keyword" # OSM umap Wikistyle Notation: @@ -487,6 +488,7 @@ -e "s|{{\($_hrefptn\)}}||g"\ -e "s|^href=\($_hrefptn\)|\1|" \ -e "s|^iframe=\($_hrefptn\)||" \ + -e "s|^video=\($_hrefptn\)||" \ -e "s,^#### *\(.*\),

\1

," \ -e "s,^### *\(.*\),

\1

," \ -e "s,^## *\(.*\),

\1

," \