Skip to content

Commit

Permalink
docs(README.md): frontmatter syntax example (blakedietz#45)
Browse files Browse the repository at this point in the history
Updated after blakedietz#18 v1.5.1 new behavior
  • Loading branch information
noraj authored and blakedietz committed May 19, 2019
1 parent cadb411 commit b76b05e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,23 @@ Markdown files with the directive
<!--@nested-tags:topic,here/is/a/nested/example-->
```

or yaml frontmatter with a tags property
or yaml frontmatter with a tags property (square brackets style)

```yaml
---
title: Hello nested tags
tags: [topic, here/is/a/nested/example]
---
```

or yaml frontmatter with a tags property (unordered list style)

```yaml
---
title: Hello nested tags
tags: topic,here/is/a/nested/example
tags:
- topic
- here/is/a/nested/example
---
```

Expand Down

0 comments on commit b76b05e

Please sign in to comment.