LLML is a markup language & templating engine with a LaTeX-like syntax that transpiles to HTML. It is written in (not very good) Rust and is currently in very early development. Everything about this project is unstable and should not be used in any serious context.
The following is a basic example of LLML:
\defmacro!{section}{2}{ \h1.section-title{\arg!{1}} \p.section-par{\arg!{2}} } \section!{Welcome To LLML!}{This is a basic example showing the syntax of LLML's features.}
As you can see, it looks like LaTeX but with HTML elements. It’s a nightmare, I know. When transpiled, the sample above turns into the following:
<html>
<h1 class="section-title">Welcome To LLML!</h1>
<p class="section-par">
This is a basic example showing the syntax of LLML's features.
</p>
</html>
LLML must be built from source at this time.
The most basic LLML usage is as follows:
llml example.llml
This will transpile example.llml
and write the output to example.html
. Run
LLML with no arguments or the --help
flag for info on additional options.
Please see some frequently asked questions (and their answers) below.
It seemed like a good idea at the time. I’m sorry.
Copyright 2021 Jon Palmisciano
LLML’s source code is available under the BSD-3-Clause License. For more
information and the full license text, see the LICENSE.txt
file.