As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

SAS Code Syntax Highlighting

From sasCommunity
Jump to: navigation, search

At the Panel Discussion at SAS Global Forum 2009 one of requested features was a way to display highlighted SAS code.

      /* Highlighted SAS Code */
      proc print data = sashelp.class;
       title "My Title";

The feature is now available thanks to the GeSHi extension. To highlight your SAS code, use the <source> tag as follows:

<source lang="sas">
Your SAS code goes here

or use the template below.

See the following samples for examples of the highlighting.

The extension also supports highlighting a number of other languages such as XML, SQL, and so on.

SAS Code Template

To create a wiki page with SAS code, enter a descriptive article title here
and click the Add SAS Code button to access the simple template form.
Note: you must log-in or create UserID first