- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parseLinkLabel (0.3 sec)
-
src/cmd/vendor/rsc.io/markdown/link.go
// and an optional link title, // which if it is present must be separated from the link destination // by spaces or tabs. No further character may occur.” i := skipSpace(s, 0) label, i, ok := parseLinkLabel(p.(*parseState), s, i) if !ok || i >= len(s) || s[i] != ':' { return 0, false } i = skipSpace(s, i+1) suf := s[i:] dest, i, ok := parseLinkDest(s, i) if !ok { if suf != "" && suf[0] == '<' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 20.7K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/inline.go
} // NOTE: Test malformed ( ) with shortcut reference // TODO fall back on syntax error? case '[': // Full reference link - [Text][Label] label, i, ok := parseLinkLabel(p, s, i+1) if !ok { break } if link, ok := p.links[normalizeLabel(label)]; ok { return &Link{URL: link.URL, Title: link.Title, corner: link.corner}, i, true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 21.9K bytes - Viewed (0)