Macros

Macros

How can you define custom macros or even define reusable LiaScript libraries?

  • Just use @ followed by a custom name for your macro
  • You can add parameters
  • Shortcut macros, that call others predefined parameters
  • And block-macros

not that difficult

You can use this this example as a basis for your own course by following this link

… Or experiment with it in the LiveEditor below:

Related Posts

ASCII-aRT

A quick introduction into ASCII-aRT and how it is integrated into LiaScript, such that you can integrate for example also formulas and animations to your image...

Read More

Fonts: Dead or Alive

How to use different fonts in LiaScript-Markdown and why this might be useful for learning ancient and extinct languages?

Read More

One Document - Multiple Representations

How to create narrative presentations from one Markdown document only and how one course can be used to teach in different languages. For the text to speech output we apply simple-speech ...

Read More