Colon Attribute Markup Language
By the person behind WikiBonsai
Syntax example:
javascript
import * as caml from 'caml-mkdn';
let text = `
:key::value
:another-key::val1,val2,val3
:yet-another-key::
- 1
- 2
- 3
And some content!
`;
let payload = caml.load(text);
console.log(payload.data);
// should produce:
// {
// key: 'value',
// another-key: ['val1', 'val2', 'val3'],
// yet-another-key: [1, 2, 3],
// }
console.log(payload.content);
// should produce:
// 'And some content!'