Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for startListItem (0.12 sec)

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

    	if list, ok := p.curB().(*listBuilder); ok && list.todo != nil {
    		s = list.todo()
    		list.todo = nil
    		return s, true
    	}
    	if p.startListItem(&s) {
    		return s, true
    	}
    	return s, false
    }
    
    func (p *parseState) startListItem(s *line) bool {
    	t := *s
    	n := 0
    	for i := 0; i < 3; i++ {
    		if !t.trimSpace(1, 1, false) {
    			break
    		}
    		n++
    	}
    	bullet := t.peek()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top