4 ms·
You can also create a code block in markdown and then write the language type at the top. This also creates highlighting. ‘’’go {your code} ‘’’
by tietjens 1y ago
You can also create a code block in markdown and then write the language type at the top. This also creates highlighting.
‘’’go
{your code}
‘’’
- profsummergig 1y agoThanks for this tip. I've seen this feature off and on in some online code editors. I didn't know this was a (universal?) Markdown feature. Is it supposed to work universally in all Markdown editors (e.g. VSCode's Markdown view)?
- tietjens 1y agoI know it works in Obsidian. I believe it also works in VSCode.