s4
diff s4-funcs.sh @ 487:b17bdc798dc5
Help for emphasizing notations
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 06 Feb 2018 11:22:51 +0900 |
parents | 021e7943fd99 |
children | 075897fee2c0 |
line diff
1.1 --- a/s4-funcs.sh Tue Feb 06 11:06:10 2018 +0900 1.2 +++ b/s4-funcs.sh Tue Feb 06 11:22:51 2018 +0900 1.3 @@ -490,10 +490,10 @@ 1.4 -e "s,^### *\(.*\),<h3>\1</h3>," \ 1.5 -e "s,^## *\(.*\),<h2>\1</h2>," \ 1.6 -e 's,^----*$,<hr>,' \ 1.7 - -e 's,\*\*\([^* |][^*|]*[^ |]\)\*\*,<strong>\1</strong>,g' \ 1.8 - -e 's,__\([^_ |][^_]*[^ ]\)__,<strong>\1</strong>,g' \ 1.9 - -e 's,\*\([^* |][^*|]*[^ |]\)\*,<em>\1</em>,g' \ 1.10 - -e 's,_\([^_ ][^_]*[^ ]\)_,<em>\1</em>,g' 1.11 + -e 's, \*\*\([^* |][^*|]*[^ |]\)\*\* ,<strong>\1</strong>,g' \ 1.12 + -e 's, __\([^_ |][^_]*[^ ]\)__ ,<strong>\1</strong>,g' \ 1.13 + -e 's, \*\([^* |][^*|]*[^ |]\)\* ,<em>\1</em>,g' \ 1.14 + -e 's, _\([^_ ][^_]*[^ ]\)_ ,<em>\1</em>,g' 1.15 } 1.16 minitbl() { 1.17 sed -n '