Template:Jscad: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 77: Line 77:
}}
}}
= Syntaxh highlighted source code =
= Syntaxh highlighted source code =
{{#tag:source|{{{code|}}} }}
{{#tag:source|lang=javascript|{{{code|}}} }}
</includeonly>
</includeonly>

Revision as of 13:33, 10 June 2019

Usage

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



  
  
  
  


OpenJSCAD example

Source code

Below is the OpenJsCad script.

Syntaxh highlighted source code

lang=javascript