<?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 Re: request to add SAS langauge syntax highlighting in CodeRay in All Things Community</title>
    <link>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288699#M1786</link>
    <description>&lt;P&gt;Yes, mine has more stuff!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a version of it in a &lt;A href="https://gist.github.com/cjdinger/7cf251399ef29b9b90b324a6fc442fca" target="_self"&gt;GitHub Gist (prism-sas.js)&lt;/A&gt;&amp;nbsp; Also added my &lt;A href="https://gist.github.com/cjdinger/21aff5c7f7b8ee341bd5045ed43bc5cb" target="_self"&gt;customized version of the prism.css file&lt;/A&gt; that addresses the new element types that I added.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The prism-sas.js contains basic regex patterns that are matched in precedence order. &amp;nbsp;It will match patterns from the top rule down to the bottom, and when it finds a match for the token it exits. &amp;nbsp;If you write a rule that isn't getting hit, it's because the token is hitting some other rule first.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2016 19:28:37 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2016-08-01T19:28:37Z</dc:date>
    <item>
      <title>request to add SAS langauge syntax highlighting in CodeRay</title>
      <link>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/287266#M1767</link>
      <description>&lt;P&gt;I submitted &lt;A href="https://github.com/rubychan/coderay/issues/199" target="_self"&gt;a request to add SAS language syntax highlighting&lt;/A&gt; in &lt;A href="http://coderay.rubychan.de/" target="_self"&gt;CodeRay&lt;/A&gt;. If you have a GitHub account, the least you can do is give the request a "+1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have experience with (Ruby) regular expressions, you can &lt;A href="https://github.com/rubychan/coderay/wiki/Scanner-Requests" target="_self"&gt;contribute&lt;/A&gt;. Or if you can think of other good code examples, you are welcome to give me links or comment on the issue over at GitHub.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 16:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/287266#M1767</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-07-26T16:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: request to add SAS langauge syntax highlighting in CodeRay</title>
      <link>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288677#M1783</link>
      <description>&lt;P&gt;I have a customized set of rules for SAS code using &lt;A href="http://prismjs.com/" target="_self"&gt;prism.js&lt;/A&gt; -- that's what we use for SAS code highlighting here on SAS communities. &amp;nbsp;I'll be happy to supply that if you think it might help. &amp;nbsp;It's regex-based, along with a CSS file for how to color.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 18:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288677#M1783</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-08-01T18:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: request to add SAS langauge syntax highlighting in CodeRay</title>
      <link>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288679#M1784</link>
      <description>&lt;P&gt;That would be fantastic! I would definitely use it. Is it in a GitHub repository? If it isn't to be made public, you can email it to me.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 18:21:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288679#M1784</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-08-01T18:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: request to add SAS langauge syntax highlighting in CodeRay</title>
      <link>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288684#M1785</link>
      <description>&lt;P&gt;The link you posted mentions SAS support already. I'm hoping your .js is more complete than &lt;A href="https://github.com/PrismJS/prism/blob/gh-pages/components/prism-sas.js" target="_self"&gt;this one&lt;/A&gt; (&lt;A href="https://github.com/Golmote/prism/blob/gh-pages/components/prism-sas.js" target="_self"&gt;origin&lt;/A&gt;?), though anything would be useful.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 18:54:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288684#M1785</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-08-01T18:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: request to add SAS langauge syntax highlighting in CodeRay</title>
      <link>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288699#M1786</link>
      <description>&lt;P&gt;Yes, mine has more stuff!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a version of it in a &lt;A href="https://gist.github.com/cjdinger/7cf251399ef29b9b90b324a6fc442fca" target="_self"&gt;GitHub Gist (prism-sas.js)&lt;/A&gt;&amp;nbsp; Also added my &lt;A href="https://gist.github.com/cjdinger/21aff5c7f7b8ee341bd5045ed43bc5cb" target="_self"&gt;customized version of the prism.css file&lt;/A&gt; that addresses the new element types that I added.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The prism-sas.js contains basic regex patterns that are matched in precedence order. &amp;nbsp;It will match patterns from the top rule down to the bottom, and when it finds a match for the token it exits. &amp;nbsp;If you write a rule that isn't getting hit, it's because the token is hitting some other rule first.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 19:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288699#M1786</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-08-01T19:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: request to add SAS langauge syntax highlighting in CodeRay</title>
      <link>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288730#M1787</link>
      <description>&lt;P&gt;These look great! Thank you for sharing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should submit a pull request to Prism with these. They are big improvements upon what they already have, and other SAS+Prism users will benefit.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 21:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/request-to-add-SAS-langauge-syntax-highlighting-in-CodeRay/m-p/288730#M1787</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-08-01T21:24:37Z</dc:date>
    </item>
  </channel>
</rss>

