8 ms·
Thanks. To be honest I just used a /* */ comment block because it was simple, but I'll have a look at implementing YAML.
by gilbitron 12y ago
Thanks. To be honest I just used a /* */ comment block because it was simple, but I'll have a look at implementing YAML.
- NaNaN 12y agoHow about gray-matter[1]? It supports YAML, TOML, JSON and Coffee. It can also auto-detect the type of front-matter. [1] https://github.com/assemble/gray-matter#lang https://github.com/assemble/gray-matter#lang