Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Feature Request: Close YAML-header with ... #267

Closed
seifferth opened this issue Jul 24, 2019 · 3 comments
Closed

Feature Request: Close YAML-header with ... #267

seifferth opened this issue Jul 24, 2019 · 3 comments

Comments

@seifferth
Copy link
Contributor

Pandoc's syntax allows the use of ... as an alternaive to --- for closing YAML-headers, so this would be a valid document:

---
title: Document Title
author: Document Author
...

Document body in *markdown* starts here.

Would it be possible to treat this way of specifying YAML-headers the same as the currently supported way? This relates to #142 and #255.

@brrd
Copy link
Owner

brrd commented Jul 26, 2019

It relies on CodeMirror's yaml-frontmatter mode, so the first step to solve this would be to develop this feature in CodeMirror: https://github.com/codemirror/CodeMirror

@seifferth
Copy link
Contributor Author

Thanks for the hint. I finally got around to opening a topic on the CodeMirror discussion board. I'll get back here once there is news from the CodeMirror side of things.

@seifferth
Copy link
Contributor Author

The feature was merged into CodeMirror today. See codemirror/codemirror5#6020. So I guess this issue will resolve itself with the next CodeMirror update.

@brrd brrd closed this as completed in b97e436 Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants