I decided to use the built-in Jetpack markdown .

If I write a piece of code, like this:

```css #button { border: none; } ``` 

That is no syntax highlighting. Although the formatting does not spoil and there is a frame. I have no other plugins. Well, markdown itself works, stars become bolts, grids - headings.

What am I doing wrong?

Here it is promised that the backlight should be: https://en.support.wordpress.com/markdown-quick-reference/

  • Are you asking about a wordpress.com blog? Or about a personal WordPress site? - mihdan
  • Speech about your own site. - JustMoose

1 answer 1

If we are talking about a site based on WordPress, and not about a blog on the wordpress.com platform, then only a few tags work from the box:

  • asterisk (*) or a dash (-) bulleted list
  • input 1. or 1) numbered list
  • start paragraph from 2 to 6 grids (#) headings of different levels
  • start with a symbol greater than (>) quote

This video shows

Extended Markdown in Jetpack needs to be activated.

enter image description here

And nowhere is it written in the manual that there should be syntax highlighting, you are confusing with wordpress.com, most likely.

  • I have it, it seems, is activated: (In the link to the manual that you cited, somewhere in the middle it says: "Jetpack uses Markdown Extra ... See the WordPress.com Markdown Quick Reference page" And if this Quick Reference to click, then en.support.wordpress.com/markdown-quick-reference opens, where “Syntax highlighting" is mentioned. Therefore, I think the backlight should be there! - JustMoose
  • So you expect syntax highlighting in TinyMCE or on the client side? - mihdan
  • On the client. I expect that the "visitor" of the site will see a piece of colored code. If I appropriately designate this code, in the process of writing a post. - JustMoose