Mercurial > hgrepos > hgweb.cgi > s4
comparison s4-funcs.sh @ 1019:4952d9b79b7d draft
Add markdown notation of ~~s~~
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 10 Oct 2023 11:20:46 +0900 |
parents | 2fd483245e8e |
children | 739106e031ab |
comparison
equal
deleted
inserted
replaced
1018:2fd483245e8e | 1019:4952d9b79b7d |
---|---|
658 -e 's,^----*$,<hr>,' \ | 658 -e 's,^----*$,<hr>,' \ |
659 -e 's, \*\*\([^* |][^*|]*[^ |]\)\*\* ,<strong>\1</strong>,g' \ | 659 -e 's, \*\*\([^* |][^*|]*[^ |]\)\*\* ,<strong>\1</strong>,g' \ |
660 -e 's, __\([^_ |][^_]*[^ ]\)__ ,<strong>\1</strong>,g' \ | 660 -e 's, __\([^_ |][^_]*[^ ]\)__ ,<strong>\1</strong>,g' \ |
661 -e 's, \*\([^* |][^*|]*[^ |]\)\* ,<em>\1</em>,g' \ | 661 -e 's, \*\([^* |][^*|]*[^ |]\)\* ,<em>\1</em>,g' \ |
662 -e 's, _\([^_ ][^_]*[^ ]\)_ ,<em>\1</em>,g' \ | 662 -e 's, _\([^_ ][^_]*[^ ]\)_ ,<em>\1</em>,g' \ |
663 -e 's,~~\([^~][^~]*\)~~,<s>\1</s>,g' \ | |
663 -e 's,\([^\\]\);;;,\1<br>,g;s,\\;;;,;;;,g' \ | 664 -e 's,\([^\\]\);;;,\1<br>,g;s,\\;;;,;;;,g' \ |
664 -e 's, $,<br>,' \ | 665 -e 's, $,<br>,' \ |
665 -e "s,- \[ *\]\([^|-]*\),${checkboxOFF}<label>\\1</label>,g" \ | 666 -e "s,- \[ *\]\([^|-]*\),${checkboxOFF}<label>\\1</label>,g" \ |
666 -e "s,- \[[^ ]\]\([^|-]*\),${checkboxON}<label>\\1</label>,g" \ | 667 -e "s,- \[[^ ]\]\([^|-]*\),${checkboxON}<label>\\1</label>,g" \ |
667 | 668 |