s4
changeset 483:be821d63848c
Consecutive 3 or more hyphens become <hr>
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 02 Feb 2018 09:45:55 +0900 |
parents | 3dc012eb1ad0 |
children | 66189fcd8c0c |
files | s4-funcs.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Mon Jan 15 09:33:12 2018 +0900 1.2 +++ b/s4-funcs.sh Fri Feb 02 09:45:55 2018 +0900 1.3 @@ -482,7 +482,8 @@ 1.4 -e "s|^iframe=\($_hrefptn\)|<iframe src=\"\1\"></iframe>|" \ 1.5 -e "s,^#### *\(.*\),<h4>\1</h4>," \ 1.6 -e "s,^### *\(.*\),<h3>\1</h3>," \ 1.7 - -e "s,^## *\(.*\),<h2>\1</h2>," 1.8 + -e "s,^## *\(.*\),<h2>\1</h2>," \ 1.9 + -e 's,^----*$,<hr>,' 1.10 } 1.11 minitbl() { 1.12 sed -n '