<?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: How do I add syntax highlighting to Jupyter Notebook - SAS kernel? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344328#M272988</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14535"&gt;@Jared&lt;/a&gt;!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That worked great. I hadn't realized that the functionality was controlled through the notebook extensions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For anyone else installing the extensions...&lt;/P&gt;
&lt;P&gt;When I first ran the commands to install and enable the extensions, I got the following errors:&lt;/P&gt;
&lt;P&gt;[InstallNBExtensionApp] CRITICAL | Bad config encountered during initialization:&lt;BR /&gt;[InstallNBExtensionApp] CRITICAL | Unrecognized flag: '--py'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Updating jupyter notebooks with the following command and then re-running the install commands resolved the error.&lt;/P&gt;
&lt;P&gt;"conda update notebook"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2017 19:34:38 GMT</pubDate>
    <dc:creator>jnvickery</dc:creator>
    <dc:date>2017-03-25T19:34:38Z</dc:date>
    <item>
      <title>How do I add syntax highlighting to Jupyter Notebook - SAS kernel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344146#M272985</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have installed the SAS kernel for Jupyter Notebooks following the instructions here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sassoftware.github.io/sas_kernel/install.html#windows-install-assuming-sas-already-installed" target="_blank"&gt;https://sassoftware.github.io/sas_kernel/install.html#windows-install-assuming-sas-already-installed&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to connect to the SAS kernel and run code, view output, etc. but I have not been able to enable syntax highlighting. Any ideas as to how to enable that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are a few more details about my installation:&lt;/P&gt;
&lt;P&gt;Windows 7&lt;/P&gt;
&lt;P&gt;SAS version 9.4 (TS1M0) is installed locally&lt;/P&gt;
&lt;P&gt;Anaconda distribution of&amp;nbsp;Jupyter&lt;/P&gt;
&lt;P&gt;I edited the "sascfg.py" file to point to the path for SAS startup script&amp;nbsp;and I edited the paths for the local classpath variable.&lt;/P&gt;
&lt;P&gt;I also had to add the path to sspiauth.dll to my&amp;nbsp;System PATH.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:14:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344146#M272985</guid>
      <dc:creator>jnvickery</dc:creator>
      <dc:date>2017-03-24T18:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add syntax highlighting to Jupyter Notebook - SAS kernel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344153#M272986</link>
      <description>&lt;P&gt;Glad you got this going!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14535"&gt;@Jared&lt;/a&gt;&amp;nbsp;might be able to provide some guidance on the syntax highlighting.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344153#M272986</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-03-24T18:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add syntax highlighting to Jupyter Notebook - SAS kernel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344261#M272987</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3156"&gt;@jnvickery&lt;/a&gt;, You can add the SAS syntax by following the instructions here:&amp;nbsp;&lt;A href="https://sassoftware.github.io/sas_kernel/install.html#installing-sas-nbextensions" target="_blank"&gt;https://sassoftware.github.io/sas_kernel/install.html#installing-sas-nbextensions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wrote a couple of Notebook (NB) extensions that once enabled will allow you to use the SAS syntax coloring or hte python depending on your use case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jared&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 06:27:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344261#M272987</guid>
      <dc:creator>Jared</dc:creator>
      <dc:date>2017-03-25T06:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add syntax highlighting to Jupyter Notebook - SAS kernel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344328#M272988</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14535"&gt;@Jared&lt;/a&gt;!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That worked great. I hadn't realized that the functionality was controlled through the notebook extensions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For anyone else installing the extensions...&lt;/P&gt;
&lt;P&gt;When I first ran the commands to install and enable the extensions, I got the following errors:&lt;/P&gt;
&lt;P&gt;[InstallNBExtensionApp] CRITICAL | Bad config encountered during initialization:&lt;BR /&gt;[InstallNBExtensionApp] CRITICAL | Unrecognized flag: '--py'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Updating jupyter notebooks with the following command and then re-running the install commands resolved the error.&lt;/P&gt;
&lt;P&gt;"conda update notebook"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 19:34:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344328#M272988</guid>
      <dc:creator>jnvickery</dc:creator>
      <dc:date>2017-03-25T19:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add syntax highlighting to Jupyter Notebook - SAS kernel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344359#M272989</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3156"&gt;@jnvickery&lt;/a&gt;&amp;nbsp;Glad it worked! The syntax actually comes from the &lt;A href="https://codemirror.net/mode/sas/index.html" target="_self"&gt;CodeMirror mode for SAS&lt;/A&gt;&amp;nbsp;if you find issues please let me know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jared&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2017 00:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-add-syntax-highlighting-to-Jupyter-Notebook-SAS-kernel/m-p/344359#M272989</guid>
      <dc:creator>Jared</dc:creator>
      <dc:date>2017-03-26T00:54:02Z</dc:date>
    </item>
  </channel>
</rss>

