Registry / utility / preamble

preamble

JSON →
library0.0.3rbrubygemsunverified

Allows you to add YAML front matter to your templates. Useful for adding metadata to static pages

gem install preamble
INSTALL
IMPORT
SIG · PREAMBLE
P
preamble
utilityrubyv0.0.3
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.

Preamble
✓ require 'preamble'

Parse YAML front matter from a string.

require 'preamble' content = "---\ntitle: My Page\n---\nBody text" metadata, body = Preamble.parse(content)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
preamble — gem install preamble · libregistry