- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for defineLink (0.1 sec)
-
src/cmd/vendor/rsc.io/markdown/parse.go
EndLine int } func (p Position) Pos() Position { return p } type buildState interface { blocks() []Block pos() Position last() Block deleteLast() link(label string) *Link defineLink(label string, link *Link) newText(pos Position, text string) *Text } type blockBuilder interface { extend(p *parseState, s line) (line, bool) build(buildState) Block } type openBlock struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/link.go
} // Must end line. Already trimmed spaces. if i < len(s) && s[i] != '\n' { return 0, false } if i < len(s) { i++ } label = normalizeLabel(label) if p.link(label) == nil { p.defineLink(label, &Link{URL: dest, Title: title, TitleChar: titleChar, corner: corner}) } return i, true } func parseLinkTitle(s string, i int) (title string, char byte, next int, found bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 20.7K bytes - Viewed (0)