all repos — honk @ cee91279ee6da9d61f066d2a6e35d32b5c282ec6

my fork of honk

remove some extra newlines that tend to appear in code blocks
Ted Unangst tedu@tedunangst.com
Sat, 11 May 2019 10:41:47 -0400
commit

cee91279ee6da9d61f066d2a6e35d32b5c282ec6

parent

3c52346214435ff40493de7155b803e8b885cf39

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("```((?s:.*?))```") +var re_bigcoder = regexp.MustCompile("\n?```\n?((?s:.*?))\n?```\n?") var re_coder = regexp.MustCompile("`(.*?)`") func markitzero(s string) string {