isLink reports whether link fits valid format.
(link []byte)
| 35 | |
| 36 | // isLink reports whether link fits valid format. |
| 37 | func isLink(link []byte) bool { |
| 38 | return validLinksPattern.Match(link) |
| 39 | } |
| 40 | |
| 41 | // Link defines how formal links should be processed to produce corresponding HTML elements. |
| 42 | func (r *MarkdownRenderer) Link(out *bytes.Buffer, link, title, content []byte) { |
no test coverage detected