MCPcopy
hub / github.com/russross/blackfriday / maybeInlineFootnote

Function maybeInlineFootnote

inline.go:224–229  ·  view source on GitHub ↗
(p *Markdown, data []byte, offset int)

Source from the content-addressed store, hash-verified

222}
223
224func maybeInlineFootnote(p *Markdown, data []byte, offset int) (int, *Node) {
225 if offset < len(data)-1 && data[offset+1] == '[' {
226 return link(p, data, offset)
227 }
228 return 0, nil
229}
230
231// '[': parse a link or an image or a footnote
232func link(p *Markdown, data []byte, offset int) (int, *Node) {

Callers

nothing calls this directly

Calls 1

linkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…