// Markups returns a copy of the markups currently defined for the styled text.
Markups returns a copy of the markups currently defined for the styled text.
// Markups returns a copy of the markups currently defined for the styled text .
func (stt StyledText) Markups() map[rune]gruid.Style {
	markups := make(map[rune]gruid.Style, len(stt.markups))
	for k, v := range stt.markups {
		markups[k] = v
	}
	return markups
}
func ( stt StyledText ) Markups ( ) map [ rune ] gruid . Style { markups := make ( map [ rune ] gruid . Style , len ( stt . markups ) ) for k , v := range stt . markups { markups [ k ] = v } return markups }
Markups returns a copy of the markups currently defined for the styled text.
Markups returns a copy of the markups currently defined for the styled text .