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

Images are handled differently

LiaScript-Markdown handles images differently: a paragraph with a starting image will produce a floating environment a paragraph with only images will produce a gallery the image will be optimally sized & placed “titles” will be used as captions You can use this this example as a basis for your own course by following this link

Read More

ASCII-aRT

After writing systems, here is a quick intro into ASCII-aRT - the next evolutionary step of writing - and how it is integrated into LiaScript, such that you can integrate for example also formulas and animations to your image…

Read More

Embedding Multimedia and More

There are 4 ways in LiaScript to embed multimedia content:

Read More