Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseLinkRefDef (0.45 sec)

  1. src/cmd/vendor/rsc.io/markdown/para.go

    	return s, false
    }
    
    func (b *paraBuilder) build(p buildState) Block {
    	if b.table != nil {
    		return b.table.build(p)
    	}
    
    	s := strings.Join(b.text, "\n")
    	for s != "" {
    		end, ok := parseLinkRefDef(p, s)
    		if !ok {
    			break
    		}
    		s = s[skipSpace(s, end):]
    	}
    
    	if s == "" {
    		return &Empty{p.pos()}
    	}
    
    	// Recompute EndLine because a line of b.text
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/link.go

    // license that can be found in the LICENSE file.
    
    package markdown
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    	"unicode/utf8"
    
    	"golang.org/x/text/cases"
    )
    
    func parseLinkRefDef(p buildState, s string) (int, bool) {
    	// “A link reference definition consists of a link label,
    	// optionally preceded by up to three spaces of indentation,
    	// followed by a colon (:),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top