diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-01-25 22:07:57 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-01-25 22:07:57 +0200 |
| commit | 953ad4d9c2f8688f34d798b8f650cf50acafd723 (patch) | |
| tree | 6a0cf8b02a0bc1c95ff76683a640cf1fb925a90c /README.md | |
| parent | 7f3a7e9770623743fde1cc9fde8aea7d476a5700 (diff) | |
Implement FrontMatter parsing.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -20,6 +20,25 @@ FlatMatter also supports functions, allowing you to build your own data DSL, and forward slash `/` character, meaning that the result of the left operation will be passed as the first argument of the next function, and so on, to produce an end result. +Additionally, FlatMatter also parses FrontMatter content, meaning that a FlatMatter file like this: + +```yaml +--- +title: "Hello, World!" +--- + +Content goes here. +``` + +Would result in this data being created: + +```json +{ + "title": "Hello, World!", + "content": "Content goes here." +} +``` + ## Install ```shell |
