{{- $scratch := .Page.Scratch.Get "scratch" -}} {{- /* only the trailing newline is retained */ -}} {{- $content := replaceRE `(?s)^\n*(.*?)\n*$` "$1\n" .Inner | .Page.RenderString | chomp -}} {{- $id := partial "function/id.html" (dict "content" $content "scratch" $scratch) -}}
]*>(?s)(.*)