# fences a fence is a marker that signifes the beginning and ending of a block. fences must occur at the start of a line, and contain at least 3 of a repeated character, from this set of characters: ``` --- +++ ~~~ === ::: fence blocks have a corresponding enclosing fence. blocks can be closed by a matching enclosing fence, the closing marker of an outer fence, or the end of the file. fences can be nested arbitrarily deep by just adding more characters to the fence token ``` outer fence ```` inner fence ```` ```
https://assets.merveilles.town/media_attachments/files/107/551/670/157/305/947/original/7f6944e2a4a3eea6.png