ASCII includes a number of characters that can be used to render the outlines of boxes: https://theasciicode.com.ar/extended-ascii-code/box-drawing-...
https://news.ycombinator.com/formatdoc describes how you can use a code layout (aka monospaced font) by adding an indentation of two or more spaces before your text.