diff test.md @ 7:a5aa39557726

Add parsing of YAML frontmatter
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 17 Jun 2020 12:23:56 +0200
parents a5f397e25cb7
children 1ffe6e4f933c
line wrap: on
line diff
--- a/test.md	Tue Jun 16 22:10:31 2020 +0200
+++ b/test.md	Wed Jun 17 12:23:56 2020 +0200
@@ -1,3 +1,10 @@
+---
+title: En liten testsida
+tags:
+    - markdown
+    - goldmark
+---
+
 # Rubrik
 Lite text måste man ha.
 Och kanske en lista
@@ -29,7 +36,7 @@
  - [x] Add command-line argument parsing
  - [x] Allow template file as an input
  - [ ] Refactor main() to be readable
- - [ ] Add possibility to have YAML metadata
+ - [x] Add possibility to have YAML metadata
 
 ### Code highlighting
  - [ ] Check of other highlighters use the same kind of coloring idea