Skip to content

SNIPPET

martin-henz edited this page Apr 16, 2020 · 17 revisions

Attributes of SNIPPET include:

  • EVAL: default: "yes", if "no": no link to a runnable program is generated.
  • LATEX: default: "no", if "yes": the body contains LaTeX
  • HIDE: default: "no", if "yes": do not include this snippet in the output

Tags within SNIPPET include:

  • REQUIRE: the name of another SNIPPET, which is recursively included in the runnable program.
  • NAME: a string that identifies the SNIPPET for REQUIRE
  • EXAMPLE: the name of another SNIPPET, which is included after all REQUIREd SNIPPETs.
  • JAVASCRIPT: the JavaScript source for display; for running, REQUIRE snippets are recursively added
  • JAVASCRIPT_RUN: the JavaScript source for running. Overrides JAVASCRIPT if present. REQUIRE snippets are recursively added
Clone this wiki locally