def METHOD_NAME(self, m, state):
    marker = m.group(1)
    text = m.group(2)
    if len(marker) == 1:
        return 'emphasis', self.render(text, state)
    return 'strong', self.render(text, state)