By default Texts formats code blocks with tildes but can also save with backticks.
Download and install one of the following files to switch between backticks and tildes styles.
Execute one of the following commands in Terminal to switch code blocks style.
defaults write io.texts.Texts TSCodeBlocksStyle backticks
defaults write io.texts.Texts TSCodeBlocksStyle tildes
Please contact firstname.lastname@example.org if you have any questions.