remove spew

This commit is contained in:
Bernard Xie 2023-03-28 15:19:03 -07:00
parent 23cca0000b
commit 47d8d12631
No known key found for this signature in database
GPG key ID: 3C3E0036CE0F892C

View file

@ -19,7 +19,6 @@ import (
"github.com/alecthomas/chroma/v2/formatters" "github.com/alecthomas/chroma/v2/formatters"
"github.com/alecthomas/chroma/v2/lexers" "github.com/alecthomas/chroma/v2/lexers"
"github.com/alecthomas/chroma/v2/styles" "github.com/alecthomas/chroma/v2/styles"
"github.com/davecgh/go-spew/spew"
"oss.terrastruct.com/util-go/go2" "oss.terrastruct.com/util-go/go2"
@ -1389,7 +1388,6 @@ func RenderText(text string, x, height float64) string {
} }
func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fonts.FontFamily, cutSet string) { func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fonts.FontFamily, cutSet string) {
spew.Dump(cutSet)
fmt.Fprint(buf, `<style type="text/css"><![CDATA[`) fmt.Fprint(buf, `<style type="text/css"><![CDATA[`)
appendOnTrigger( appendOnTrigger(