Skip to content

lucacasonato/frontmatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontmatter

Handle frontmatter in files.

example

data, rest, err := frontmatter.Parse(strings.NewReader(`---
name: frontmatter
version: 1.0.0
---

# hello
hello world!`), "---")

/*
data == `name: frontmatter
version: 1.0.0`
*/

/*
rest == `# hello
hello world!`
*/

licence

MIT. More in LICENCE file

About

handle frontmatter in files

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages