[wp-meta] [Making WordPress.org] #3510: Code Block Styling

Making WordPress.org noreply at wordpress.org
Wed Mar 14 18:35:21 UTC 2018


#3510: Code Block Styling
-------------------------+------------------
 Reporter:  Howdy_McGee  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Handbooks    |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by Howdy_McGee):

 @joyously That's a good idea and I would be fine with that. In Google
 Chrome at least I think we should unset whitespace

 {{{
 pre {
     white-space: unset;
 }
 }}}

 So it actually blocks the code.

 I'm not entirely sure what The Handbook runs on but I'm assuming it uses
 the same Wikiformatting. I think code blocks, which wouldn't be used for
 inline items should use `<code>` tags and anything inline should use the
 keyboard back-tick: "`" so it looks like the code tag above. It gets the
 code background and monospace font but is easy and inline.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3510#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list