Making WordPress.org

Opened 7 weeks ago

Last modified 3 days ago

#5855 new defect

Correct formatting for code blocks imported from GitHub PRs, take 2

Reported by: SergeyBiryukov Owned by:
Milestone: Priority: normal
Component: Trac Keywords:


Background: #4903, #5308.

As seen in some comments on #WP22316, the formatting of code blocks still looks broken:



"name": "vendor/my-plugin",
"description: "....",
/* snip */
"wordpress": {






"plugin-dependencies": [


"slug": "gutenberg",
"name": "Gutenberg"


"slug": "woocommerce",
"name": "WooCommerce"




It looks like converting the GitHub syntax for code blocks to the syntax that Trac recognizes could use some adjustment.

Change History (3)

#1 @SergeyBiryukov
7 weeks ago

  • Component changed from General to Trac

#2 @dd32
3 days ago

In 11244:

Trac: GitHub: When importing GitHub code blocks, support/import the code format specifier.

This might not solve all of the differences, but should at least import it as a code block rather than as a broken block.

See #5855.

#3 @dd32
3 days ago

In 11245:

Trac: GitHub: When importing code blocks from GitHub, import the code blocks properly. Take two.

See #5855.

Note: See TracTickets for help on using tickets.