Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Ignore YAML Metadata #194

Open
1 of 2 tasks
zeroSteiner opened this issue Jun 7, 2018 · 1 comment
Open
1 of 2 tasks

Feature Request: Ignore YAML Metadata #194

zeroSteiner opened this issue Jun 7, 2018 · 1 comment
Labels

Comments

@zeroSteiner
Copy link

Prerequisites

Issue description

This is a request for a feature to ignore YAML metadata in markdown files. A few systems (pandoc, GitHub) support having metadata defined in YAML in markdown files. The metadata is delimited by three dashes --- followed by valid YAML and then terminated with three dashes again.

Right now this metadata shows up as a table at the top of the document. It would be really nice if there was an option to have this metadata simply hidden from both the preview and the PDF output.

Steps to reproduce

Expected behavior: Add a YAML metadata field at the top of the markdown document and see no additional content in the preview or PDF.

Actual behavior: Add a YAML metadata field at the top of the markdown document and see it in a table.

Input

This is a copy of a feature request template I use in one of my GitHub projects. The YAML metadata is at the top and was generated using GitHub's issue template creator.

---
name: Feature Request
about: Suggest an idea for this project

---

# Feature Description
<!-- Describe the feature here that you would like to see added to the project. Does the feature solve a problem and how often do you think it will be used? -->

## Alternatives Solutions
<!-- Describe any alternative solutions you considered and why you came to the conclusion you did regarding the proposed solution. -->

## Example Use Case
<!-- Provide an example of when this feature would be used. -->

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Atom    : 1.24.1
Electron: 1.6.16
Chrome  : 56.0.2924.87
Node    : 7.4.0
@travs
Copy link
Owner

travs commented Mar 10, 2020

Tracking here: elliotblackburn/mdpdf#88

@travs travs added the waiting label Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants