| 1 |
# lua-tinyyaml |
| 2 |
|
| 3 |
- Homepage: https://github.com/zepinglee/citeproc-lua |
| 4 |
- Author: Zeping Lee |
| 5 |
- Email: zepinglee AT gmail DOT com |
| 6 |
- License: MIT |
| 7 |
|
| 8 |
The `lua-tinyyam` package is a lightweight YAML parser |
| 9 |
written in pure Lua. It supports a subset of the YAML 1.2 |
| 10 |
specifications. This package is a dependency for several other LuaTeX |
| 11 |
packages, including `markdown` and |
| 12 |
`citeproc-lua`. |
| 13 |
|
| 14 |
## Usage |
| 15 |
|
| 16 |
To parse a YAML string into a Lua table, use the `parse` function: |
| 17 |
|
| 18 |
```lua |
| 19 |
contents = require("tinyyaml").parse(str) |
| 20 |
``` |
| 21 |
|
| 22 |
## License |
| 23 |
|
| 24 |
`lua-tinyyaml` is distributed under the MIT License. |