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

Why Open Education Needs a Common Language!?

A better question would be: Why do commercial offerings and e-learning platforms dominate online education and “NOT” Open Educational Resources (OER)? Before we attempt to answer these questions, we want everyone to complete the following sentence for themselves: Open Educational Resources (OER) are primarily about … … the use of content. … their creation. It is no wonder that many initially think of licenses and terms of use. Creation (2.) seems boring and time-consuming.

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… 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:

Read More

A Custom Extension for Algebra

Today we show how to build a custom extension for executable code-snippets for LiaScript #Markdown by using the computer algebra systems Algebrite. The same can be done with any other library, framework, API … 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:

Read More