No description
| src | woahg | |
| .envrc | Initial commit | |
| .gitignore | Initial commit | |
| Cargo.toml | Initial commit | |
| README.md | awa | |
| shell.nix | Initial commit | |
Markright
An explicit and extensible (削除) markup (削除ここまで) (削除) markdown (削除ここまで) markright language. File extension mkr.
How It Works
There are 4 kinds of rules:
- Replacement rules, such as
|img<https://aurakle.dev/button.png>| - Inline rules, such as
|i{your text, in italic}or|i|b{your text, in italic AND bold} - Line rules, such as
|ignore: this is a comment - And finally, block rules such as
|code<css>[
nav a {
color: red;
}
]end|
For example, the following represents an ordered list with 3 elements, where each element is numbered 1-3:
|list<123>[
- Hi! I'm the first element! Block rules receive their entire interior text, allowing them to do funny things like treat every line starting with a dash and a space as a new list element!
- Heyo, I'm the second element! The "123" property of the list rule tells it that lists elements should be ordered using numbers.
- Oy, I'm the third element. If you exclude the argument to the list rule, the list will be unordered!
]end|