Skip to content

New <!function> tag #3

Description

@dacap
<!function name args...>
  ...
<!end>

How should arguments be referenced? E.g.

<!function hello a b>
  Hello <!get a> and <!get b>
<!end>

Or

<!function hello a b>
  Hello a and b
<!end>

Which acts like the old htmlex macros. This also allows to use any text for argument names:

<!function hello $a $b>
  Hello $a and $b
<!end>

How should functions be called?

<!myfunc args...> or <!call myfunc args...>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions