duo-labs / duo-labs/markflow

Support YAML front matter

Open
#54 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
21
Forks
4
PR merge metrics
No merged PRs in 30d

Description

It is very common to write Markdown files that include YAML front-matter at the top of the file, like this [Jekyll](https://jekyllrb.com/) example:

```
---
layout: page
title: About
permalink: /about/
nav: 0
---
```

When running `markflow` against a file that includes the above, it gets reformatted to

```
----------------------------------------------------------------------------------------
layout: page title: About permalink: /about/
nav: 0
------
```

and Jekyll is unable to render the file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.