Difference between revisions of "Template:Jscad"

From BITPlan Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
<jscad nocache>{{subst:code}}</jscad>
 
<html><head>
 
<html><head>
 
   <script src="/extensions/OpenJsCad/lightgl.js"></script>
 
   <script src="/extensions/OpenJsCad/lightgl.js"></script>

Revision as of 08:06, 10 June 2019

Usage

Put your JSCAD code inside a source tag and add a call of this template

<source lang='javascript'></source>
{{jscad}}