[wp-meta] [Making WordPress.org] #5855: Correct formatting for code blocks imported from GitHub PRs, take 2

Making WordPress.org noreply at wordpress.org
Sun Aug 8 22:57:03 UTC 2021


#5855: Correct formatting for code blocks imported from GitHub PRs, take 2
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  General         |   Keywords:
----------------------------+--------------------
 Background: #4903, #5308.

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

 https://core.trac.wordpress.org/ticket/22316#comment:93

 > ```json
 > {
 >     "name": "vendor/my-plugin",
 >     "description: "....",
 >     /* snip */
 >     "wordpress": {
 >         ...
 >     }
 > }

 https://core.trac.wordpress.org/ticket/22316#comment:94

 > {{{json
 > {
 >     "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.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5855>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list