<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can I color text in a code box?? in All Things Community</title>
    <link>https://communities.sas.com/t5/All-Things-Community/Can-I-color-text-in-a-code-box/m-p/856149#M4768</link>
    <description>&lt;P&gt;When creating a code box, I want to highlight in red what the change is from the original code. So, here's a screen capture of when I am creating the message, notice there are two letters in the code box which I have highlighted in red.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaigeMiller_0-1675015079348.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79902i59B723B4C63EBAE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaigeMiller_0-1675015079348.png" alt="PaigeMiller_0-1675015079348.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when the message appears in the forum, there is no red &lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Intnx-minus-1-day/m-p/856147#M338306" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Intnx-minus-1-day/m-p/856147#M338306&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I make this code red inside a code box?&lt;/P&gt;</description>
    <pubDate>Sun, 29 Jan 2023 17:59:40 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-01-29T17:59:40Z</dc:date>
    <item>
      <title>Can I color text in a code box??</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Can-I-color-text-in-a-code-box/m-p/856149#M4768</link>
      <description>&lt;P&gt;When creating a code box, I want to highlight in red what the change is from the original code. So, here's a screen capture of when I am creating the message, notice there are two letters in the code box which I have highlighted in red.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaigeMiller_0-1675015079348.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79902i59B723B4C63EBAE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaigeMiller_0-1675015079348.png" alt="PaigeMiller_0-1675015079348.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when the message appears in the forum, there is no red &lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Intnx-minus-1-day/m-p/856147#M338306" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Intnx-minus-1-day/m-p/856147#M338306&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I make this code red inside a code box?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 17:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Can-I-color-text-in-a-code-box/m-p/856149#M4768</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-01-29T17:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can I color text in a code box??</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Can-I-color-text-in-a-code-box/m-p/856165#M4769</link>
      <description>&lt;P&gt;Hello Paige,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I always resort to the general "Insert Code" box (&amp;lt;/&amp;gt; icon) if I want to use any sort of highlighting (color, font face, font size) in code. That the "Insert &lt;EM&gt;SAS&lt;/EM&gt; Code" box ("running man" icon) does not preserve such custom highlighting, can be seen in the preview window already. The corresponding HTML instructions are there (see HTML code), but appear to be overridden by the built-in code highlighting. To make them effective, one could edit the HTML code and delete the two tags&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;code class=" language-sas"&amp;gt;&lt;/FONT&gt; and&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;/code&amp;gt;&lt;/FONT&gt;, leaving just&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;pre&amp;gt;&amp;nbsp;&lt;EM&gt;your code&lt;/EM&gt;&amp;nbsp;&amp;lt;/pre&amp;gt;&lt;/FONT&gt; (which is what the "Insert Code" box creates).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, clicking the "HTML" icon changes the functionality of the &amp;lt;/&amp;gt; icon&amp;nbsp;permanently (for the current message), which may be a bug and can be very annoying! The code box now offers a drop-down menu with various programming languages (but &lt;EM&gt;not&lt;/EM&gt; "plain text"), creates a &lt;EM&gt;third&lt;/EM&gt; type of code box (using &amp;lt;li-code&amp;gt; tags in HTML) and without editing the HTML code there is (I think) no way back to the simple "&lt;FONT face="courier new,courier"&gt;&amp;lt;pre&amp;gt;&lt;/FONT&gt;" code box. So it's better to use the&amp;nbsp;&amp;lt;/&amp;gt; icon in the first place.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 21:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Can-I-color-text-in-a-code-box/m-p/856165#M4769</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-01-29T21:15:00Z</dc:date>
    </item>
  </channel>
</rss>

