[wp-meta] [Making WordPress.org] #815: Forums to Support Syntax Highlighting

Making WordPress.org noreply at wordpress.org
Wed Feb 24 20:27:29 UTC 2021


#815: Forums to Support Syntax Highlighting
----------------------------+-------------------------
 Reporter:  nphaskins       |       Owner:  tellyworth
     Type:  enhancement     |      Status:  accepted
 Priority:  low             |   Milestone:  Q1
Component:  Support Forums  |  Resolution:
 Keywords:                  |
----------------------------+-------------------------

Comment (by vladytimy):

 Some key points from
 [https://wordpress.slack.com/archives/C02RQC6RW/p1614102030190600 this
 chat]
 - nowadays one would need to support different types of code and still
 allow to easily copy and use. Might need various toggle controls and stuff
 and a nontechnical user would not feel comfortable to choose from "CSS",
 "HTML", "PHP" if they don't know what that means

 - typically, people will paste just a snippet, which may both start and
 end with some garbage. Syntax highlighting may go terribly wrong in
 pairing parenthesis, for instance.

 - not even Trac doesn't support Syntax Highlighting, just numbered lines,
 which makes it impossible to copy code from the view.

 Maybe there is a perfect solution that cover automatically language
 detection and incomplete code errors that we are not aware of.

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


More information about the wp-meta mailing list