Steffen Itterheim
asked this on May 05, 2010 19:02
I wanted to ask if there's an easy way to add source code formatting to lessons? It doesn't have to do syntax highlighting, something like the <PRE> HTML tag would be fine for a start.
I tried to inline HTML in a lesson but that didn't work. Any pointers appreciated!
Comments
Currently you cannot add any code formatting directly in the step instructions field. One workaround is to use the video embed feature. The video embed feature basically provides a means of adding HTML to your step. In the video embed dialog you could add your code with <pre> tags and then when you exported to ScreenSteps Live you would get the formatting you want. Not ideal, but maybe it would work for you.
Take a look at these instructions on embedding video:
Embedding Video in a Step
Good idea! I actually did that once to embedd a clickable image (image + href). I'll check how it looks if i leave that lesson's title blank. Hopefully it'll align closely with the surrounding text. Thanks for the tip!