Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newHR (0.04 sec)

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

    	buf.WriteString("<hr />\n")
    }
    
    func (b *ThematicBreak) printMarkdown(buf *bytes.Buffer, s mdState) {
    	buf.WriteString(s.prefix)
    	buf.WriteString(b.raw)
    	buf.WriteByte('\n')
    }
    
    func newHR(p *parseState, s line) (line, bool) {
    	if isHR(s) {
    		p.doneBlock(&ThematicBreak{Position{p.lineno, p.lineno}, s.string()})
    		return line{}, true
    	}
    	return s, false
    }
    
    func isHR(s line) bool {
    	t := s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top