DEV Community

Discussion on: From PHP to Go: Arrays

andy profile image
Andy Zhao (he/him)

Hey Antonio, we recommend using codeblocks like you would with Markdown in order to get the <pre> tag functionality. Here's an example:

Code block usage example

Including the language php after the first set of triple backticks will add syntax highlighting.

Hope that helps!

Thread Thread
asanchez profile image
Antonio Sánchez Author

Hi Andy, thanks a lot! I am not so experienced working with markdown. I will edit the post right now to do this.