Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gilbitron
· 12y ago · 0 comments
Thanks. To be honest I just used a /* */ comment block because it was simple, but I'll have a look at implementing YAML.
Comments
[–]
NaNaN
12y ago
How 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