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 diff
     1.1 --- a/s4-funcs.sh	Thu Apr 13 18:07:11 2017 +0859
     1.2 +++ b/s4-funcs.sh	Thu Apr 13 18:08:48 2017 +0859
     1.3 @@ -474,9 +474,9 @@
     1.4        -e "s|{{\($_hrefptn\)}}|<img src=\"\1\">|g"\
     1.5        -e "s|^href=\($_hrefptn\)|<a &>\1</a>|" \
     1.6        -e "s|^iframe=\($_hrefptn\)|<iframe src=\"\1\"></iframe>|" \
     1.7 -      -e "s,^### *\(.*\),<h4>\1</h4>," \
     1.8 -      -e "s,^## *\(.*\),<h3>\1</h3>," \
     1.9 -      -e "s,^# *\(.*\),<h2>\1</h2>,"
    1.10 +      -e "s,^#### *\(.*\),<h4>\1</h4>," \
    1.11 +      -e "s,^### *\(.*\),<h3>\1</h3>," \
    1.12 +      -e "s,^## *\(.*\),<h2>\1</h2>,"
    1.13  }
    1.14  minitbl() {
    1.15    sed -n '