Mercurial > hgrepos > hgweb.cgi > s4
changeset 426:b3b33923638c
## at the beginning of the line turns to <h2>...</h2>
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 13 Apr 2017 18:08:48 +0859 |
parents | 961173fdc904 |
children | d52dd72a70e1 |
files | s4-funcs.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Thu Apr 13 18:07:11 2017 +0859 +++ b/s4-funcs.sh Thu Apr 13 18:08:48 2017 +0859 @@ -474,9 +474,9 @@ -e "s|{{\($_hrefptn\)}}|<img src=\"\1\">|g"\ -e "s|^href=\($_hrefptn\)|<a &>\1</a>|" \ -e "s|^iframe=\($_hrefptn\)|<iframe src=\"\1\"></iframe>|" \ - -e "s,^### *\(.*\),<h4>\1</h4>," \ - -e "s,^## *\(.*\),<h3>\1</h3>," \ - -e "s,^# *\(.*\),<h2>\1</h2>," + -e "s,^#### *\(.*\),<h4>\1</h4>," \ + -e "s,^### *\(.*\),<h3>\1</h3>," \ + -e "s,^## *\(.*\),<h2>\1</h2>," } minitbl() { sed -n '