# {{ .Title }} {{ $content := .RawContent -}} {{ $content = $content | replaceRE `\n+` "" -}} {{ $content = $content | replaceRE `\[([^\]]+)\]\[(\d+)\]` "$1[$2]" -}} {{ $content = $content | replaceRE `(?m)^\[(\d+)\]: (.*)$` "=> $2 [$1] $2" -}} {{ $content = $content | replaceRE `(?m)\n\n >` "\n\n" -}} {{ $content = $content | replaceRE `(?m)\n\n ([^>])` " $1" -}} {{ $audioRE := `` }} {{ range findRE $audioRE $content -}} {{ $url := . | replaceRE $audioRE "$1" | replaceRE ` ` "%20" -}} {{ $title := . | replaceRE $audioRE "$2" -}} {{ $content = replace $content . (printf "=> %s %s" $url $title) -}} {{ end -}} {{ $content | safeHTML }}