Revision 11952
Added by Aaron Marcuse-Kubitza almost 11 years ago
bin/boldify | ||
---|---|---|
5 | 5 |
. "$(dirname "${BASH_SOURCE[0]}")"/../lib/sh/util.sh |
6 | 6 |
|
7 | 7 |
clog++ sed \ |
8 |
-e 's/([^*])(\[\[[^]]*\]\])([^*])/\1*\2*\3/g' \
|
|
8 |
-e 's/(^|[^*])(\[\[[^]]*\]\])([^*]|$)/\1*\2*\3/g' \
|
|
9 | 9 |
-e 's/(")([^"*]*)(":)/\1*\2*\3/g' |
Also available in: Unified diff
bugfix: bin/boldify: also match [[]]-style links at the beginning and end of a line