def METHOD_NAME(self, section):
    content = extract_tag(section)
    content = decode_escaped_brackets(content)
    # type is space-separated from rest of macro.
    # Cursor macros have no space.
    if ' ' in content:
        macro_type, macro = content.split(' ', 1)
    else:
        macro_type, macro = (content, '')
    return macro_type, macro