<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19435</bug_id>
          
          <creation_ts>2012-10-10 17:06:01 +0000</creation_ts>
          <short_desc>No way to post preformatted code blocks</short_desc>
          <delta_ts>2012-11-04 15:06:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>webplatform.org</product>
          <component>QA Forums</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew R">eternicode</reporter>
          <assigned_to name="team-webplatform-admin list">team-webplatform-admin</assigned_to>
          <cc>jonathan</cc>
    
    <cc>komoroske</cc>
          
          <qa_contact name="public-webplatform-bugs list">public-webplatform-bugs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75844</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew R">eternicode</who>
    <bug_when>2012-10-10 17:06:01 +0000</bug_when>
    <thetext>There seems to be no obvious/official way, with the WYSIWYG editor, to post preformatted code blocks, let alone with any kind of syntax highlighting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75918</commentid>
    <comment_count>1</comment_count>
    <who name="Alex Komoroske">komoroske</who>
    <bug_when>2012-10-11 01:29:30 +0000</bug_when>
    <thetext>Using the &quot;Examples&quot; form fields on pages is the official way to do this, on page types that have it. For other page types, use the Single_Example template: http://docs.webplatform.org/wiki/Template:Single_Example . 

Although examples done with that template are not syntax highlighted _yet_, they will be soon once we resolve another bug. Using that template is the best way to make sure that syntax highlighting works as you expect when we enable it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75920</commentid>
    <comment_count>2</comment_count>
    <who name="Andrew R">eternicode</who>
    <bug_when>2012-10-11 01:35:00 +0000</bug_when>
    <thetext>Alex, this bug pertains to the Q&amp;A forums, not the wiki.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75922</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Komoroske">komoroske</who>
    <bug_when>2012-10-11 01:36:40 +0000</bug_when>
    <thetext>... d&apos;oh. Carry on. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77848</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Garbee">jonathan</who>
    <bug_when>2012-11-04 15:06:43 +0000</bug_when>
    <thetext>We disabled the WYSIWYG editor completely.  There is thought going towards using a markdown editor for the Q&amp;A though.  We should be able to make syntax highlighting with code blocks work in there.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>