package parser

import (
	
	
)

// IsCallout detects a callout in the following format: <<N>> Where N is a integer > 0.
func ( []byte) ( []byte,  int) {
	if !bytes.HasPrefix(, []byte("<<")) {
		return nil, 0
	}
	 := 2
	 := bytes.Index([:], []byte(">>"))
	if  < 0 {
		return nil, 0
	}

	 := [ : +]
	 = bytes.TrimSpace()
	,  := strconv.Atoi(string())
	if  != nil {
		return nil, 0
	}
	if  <= 0 {
		return nil, 0
	}
	return ,  +  + 2 // 2 for >>
}