-
Notifications
You must be signed in to change notification settings - Fork 58
Support syntax highlighting in code blocks #67
Comments
Hmm, you can already use backticks:
|
@kucrut That's what I thought too, but single backticks used to create code blocks were breaking the page when used in the FAQ tab on my WordPress.org plugin. Using them for inline code seems to work fine. |
I'm going to reopen this because I do think there is some slight room for improvement. It would be cleaner if |
So Is it a hidden feature? |
@westonruter Not sure if it's part of the "standard", but it does seem to work. https://wordpress.org/plugins/prevent-concurrent-logins/faq/ |
That's great. I was wondering how we could implement that. |
AFAIK the only way to achieve a code block in
readme.txt
is to use the<pre>
tag.It would be nice to add support for a
lang
attribute so that syntax highlighting can be added when converting to markdown.TXT
Markdown
The text was updated successfully, but these errors were encountered: