docs: def _push_textbuffer(self):
          """Push the textbuffer onto the stack as a Text node and clear it."""
          if self._textbuffer:
              self._stack.append(tokens.Text(text="".join(self._textbuffer)))
              self._textbuffer = []