5 releases
| 0.0.5 | Oct 8, 2020 |
|---|---|
| 0.0.4 | Oct 8, 2020 |
| 0.0.3 | Oct 8, 2020 |
| 0.0.2 | Oct 7, 2020 |
| 0.0.1 | Oct 7, 2020 |
#17 in #language-text
27KB
679 lines
Ley
Ley is a markup language designed to let you focus on functionality rather than layout.
Format
Ley files are made up of ley lines which describe functionality. A ley line is of the format
!name: type {
contents
}
where:
namedescribes a short piece of text for the ley line, such as a heading or link uritypedescribes the functionality itself, ie. a section of text, a link or an imagecontentsdescribes further ley lines
Additionally, a ley line may be replaced by direct text.
No whitespace is preserved.
When double quotes (") are used, all text within is escaped. Two double quotes ("") may be used to the same effect, preserving the outer quotes and allowing the usage of single quotes within.
Types
linka link to other content, an html anchornamethe urlcontentsthe content to anchor
imagean imagenamethe image location urlcontentsthe image alt text
sectiona section of textnamethe heading of the sectioncontentsthe nested contents