all repos — honk @ 3414d8e7eac4227a6ad8ae61280f379f8a3ecac2

my fork of honk

don't eat too many newlines. need a real parser here.
Ted Unangst tedu@tedunangst.com
Sat, 11 May 2019 21:50:39 -0400
commit

3414d8e7eac4227a6ad8ae61280f379f8a3ecac2

parent

60166f362b42a3ce1f89df5cab4275b6f5f558b4

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M fun.gofun.go

@@ -156,7 +156,7 @@ }

var re_bolder = regexp.MustCompile(`(^|\W)\*\*([\w\s,.!?']+)\*\*($|\W)`) var re_italicer = regexp.MustCompile(`(^|\W)\*([\w\s,.!?']+)\*($|\W)`) -var re_bigcoder = regexp.MustCompile("\n?```\n?((?s:.*?))\n?```\n?") +var re_bigcoder = regexp.MustCompile("```\n?((?s:.*?))\n?```") var re_coder = regexp.MustCompile("`([^`]*)`") func markitzero(s string) string {