[wp-meta] [Making WordPress.org] #5308: Correct formatting for code blocks imported from GitHub PRs
Making WordPress.org
noreply at wordpress.org
Tue Jul 7 21:40:00 UTC 2020
#5308: Correct formatting for code blocks imported from GitHub PRs
----------------------------+--------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Trac | Keywords:
----------------------------+--------------------
Background: #4903
As seen in https://core.trac.wordpress.org/ticket/43941#comment:71, the
formatting of code blocks looks broken:
Take the following example
```
register_meta('post', 'my_meta', [
'object_subtype' => 'post',
'single' => false,
'show_in_rest' => [
...
],
'type' => 'array',
'default' => array(233),
]);
```
The GitHub syntax:
{{{
```
```
}}}
should be converted to the syntax that Trac recognizes:
{{{
{{{
}}}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5308>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list