Registry / utility / front-matter-parser

front-matter-parser

JSON →
library1.0.1rbrubygemsunverified

Parse a front matter from syntactically correct strings or files

gem install front_matter_parser
INSTALL
IMPORT
SIG · FRONT-MATTER-PARSE
F
front-matter-parser
utilityrubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FrontMatterParser
require 'front_matter_parser'

Parse front matter from a file

require 'front_matter_parser' parsed = FrontMatterParser::Parser.parse_file('post.md') puts parsed.front_matter['title'] puts parsed.content
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
front-matter-parser — gem install front-matter-parser · libregistry