~kota/goldmark-gemtext

a9c2a7f324914096c5d3bc520c6570cf34cf95c5 — Dakota Walsh 4 months ago 53fe649 v0.3.0
remove debug code
1 files changed, 0 insertions(+), 19 deletions(-)

M block.go
M block.go => block.go +0 -19
@@ 215,25 215,6 @@ func (r *GemRenderer) renderParagraphLinkOnly(w util.BufWriter, source []byte, n
			if linkPrint(w, source, child, r.config.LinkReplacers) {
				fmt.Fprintf(w, "\n")
			}
			// switch nl := child.(type) {
			// case *ast.Link:
			// 	text, err := nodeText(source, nl)
			// 	if err != nil {
			// 		return ast.WalkStop, nil
			// 	}
			// 	fmt.Fprintf(w, "=> %s %s", nl.Destination, text)
			// 	fmt.Fprintf(w, "\n")
			// case *wast.Wiki:
			// 	text, err := nodeText(source, nl)
			// 	if err != nil {
			// 		return ast.WalkStop, nil
			// 	}
			// 	fmt.Fprintf(w, "=> %s %s", nl.Destination, text)
			// 	fmt.Fprintf(w, "\n")
			// case *ast.AutoLink:
			// 	fmt.Fprintf(w, "=> %s", nl.Label(source))
			// 	fmt.Fprintf(w, "\n")
			// }
		}
		fmt.Fprintf(w, "\n")
	}