| 1 | --- |
| 2 | layout: cover |
| 3 | fonts: |
| 4 | sans: Roboto, Lato |
| 5 | serif: Mate SC |
| 6 | mono: Fira Code |
| 7 | --- |
| 8 | |
| 9 | # Hi |
| 10 | |
| 11 | --- |
| 12 | meta: |
| 13 | title: FooBar |
| 14 | duration: 12 |
| 15 | layout: center |
| 16 | --- |
| 17 | |
| 18 | # Hello |
| 19 | |
| 20 | <!-- |
| 21 | This is note |
| 22 | --> |
| 23 | |
| 24 | --- |
| 25 | |
| 26 | # Morning |
| 27 | |
| 28 | --- |
| 29 | layout: text |
| 30 | --- |
| 31 | |
| 32 | <!-- This is not note --> |
| 33 | Hey |
| 34 | |
| 35 | <!-- |
| 36 | This is note |
| 37 | --> |
| 38 | |
| 39 | --- |
| 40 | |
| 41 | ```md |
| 42 | --- |
| 43 | this should be treated as code block |
| 44 | --- |
| 45 | |
| 46 | --- |
| 47 | |
| 48 | Also part of the code block |
| 49 | ``` |
| 50 | |
| 51 | --- |
| 52 | |
| 53 | ```yaml |
| 54 | # The first yaml block should be treated as frontmatter |
| 55 | layout: from yaml |
| 56 | ``` |
| 57 | |
| 58 | Content 1 |
| 59 | |
| 60 | --- |
| 61 | layout: cover |
| 62 | --- |
| 63 | |
| 64 | ```yaml |
| 65 | # When there is already a frontmatter, the first yaml block should be treated as content |
| 66 | layout: should not from yaml 1 |
| 67 | ``` |
| 68 | |
| 69 | Content 2 |
| 70 | |
| 71 | --- |
| 72 | |
| 73 | # Title |
| 74 | |
| 75 | ```yaml |
| 76 | # When there is already a frontmatter, the first yaml block should be treated as content |
| 77 | layout: should not from yaml 2 |
| 78 | ``` |
| 79 | |
| 80 | Content 3 |
| 81 |