Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tableAlign (0.08 sec)

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

    	start := 0
    	for i := 0; i < len(delim); i++ {
    		if delim[i] == '|' {
    			align = append(align, tableAlign(string(delim[start:i])))
    			start = i + 1
    		}
    	}
    	align = append(align, tableAlign(string(delim[start:])))
    	return align
    }
    
    func tableAlign(cell string) string {
    	cell = tableTrimSpace(cell)
    	l := cell[0] == ':'
    	r := cell[len(cell)-1] == ':'
    	switch {
    	case l && r:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top