KDL is a document language with xml-like semantics that looks like you're invoking a bunch of CLI commands!
Inline KDL (short: i-kdl, extension: ikdl, pronounced: i cuddle) is an extension of KDL where KDL fragments can be embedded in a larger text document.
i-kdl uses <
and >
to indicate a KDL fragment. An i-kdl document is a list
of zero or more Texts interspersed with zero or more Nodes.
Simple:
ikdl
Hic voluptatem eum et repudiandae nisi cum qui sed. Voluptatum molestiae recusa
quod<note latin="quī" case="nominative" gender="neuter" number="singular"> quas
suscipit reprehenderit eos commodi. Dolores earum iste tempore culpa ut nostrum.
Can span multiple lines (remembering to use KDL line continuations where appropriate):
```ikdl
Inflection of quī (“who, which”), Proto-Indo-European *kʷod, whence also .
``` KDL fragment can contain You can escape a The code in this repository is covered by the Parity License, a
strong copyleft license. That means that you can only use this project if
you're working on an open source-licensed product (MIT/Apache projects are
ok!)
<>
in strings etc.ikdl
i-kdl uses <code "<"> and <code ">"> to indicate a KDL fragment.
<
in text with \\
:ikdl
Escaping \< is possible: <true>.
License