I'm running SAS Studio mid-tier/enterprise. I'm writing a tutorial, and copy/pasting code into powerpoint. However, that code is always only text - it has no syntax highlighting associated with it.
Is there a way to do this? And if not, is this something that can be addressed, either by adding functionality to SAS Studio, or through perhaps a task or something that can run arbitrary text through the syntax highlighter and output to a file?
Try print code: This will open the code in new tab, copy code from here and past in PowerPoint.
If the source is highlighted it may be the way you are pasting into power point.
For instance, at least with Power Point 2016 if I right click on a slide I get a pop-up menu with 3 clipboard icons. The two on the left keep formatting of two different flavors while the one on the right is plain text.
Or alt-e s brings up a Paste Special box which in my case defaults to show paste as Formatted Text (RTF) when pasting from the Enhanced Editor in SAS Display manager with an option of "Unformatted text".
By any chance did you set the Power Point advanced option for Cut, Copy and Past not to use smart cut and paste or not show paste options buttons?
Try print code: This will open the code in new tab, copy code from here and past in PowerPoint.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.