[minor] Rename var text to partext
Convert atx-style headers.