| filsa.net: Frontier / Scripts / Weird Macros / Publishing Source Code (1) |
|
|
Publishing Source Code (1)Sharing code is the best way to teach each other
After announcing the "glossRename" script on the Frontier-Beginners list, Matt Neuburg suggested that I put my code up on the list so everyone could see it. As well as here on this site. I thought it was a good idea. I remember learning a lot by looking at code samples from the Frontier-Talk list. It's a good way to learn, it gives you ideas of how to tackle a project in UserTalk. In order to publish the code, I put together a quick macro to format and protect the code from getting interpreted when it gets run through the rendering process. You can call it from a page as well, like this: {includeSourceCode (@user.name.of.the.script.to.publish)} Perhaps you'll find this code useful.
|
||
View the Source: user.html.macros.includeSourceCode |
|||
|
© copyright 1997-98 by Philip Suh. Comments are appreciated. This page last updated on 6/16/98; 0:01:02 PM. <http://www.filsa.net/frontier/scripts/WeirdMacros/includeSourceCode.html> |
| filsa.net: Frontier / Scripts / Weird Macros / Publishing Source Code (1) |