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

Support YAML frontmatter #3

Open
foxfriends opened this issue Dec 17, 2020 · 1 comment
Open

Support YAML frontmatter #3

foxfriends opened this issue Dec 17, 2020 · 1 comment

Comments

@foxfriends
Copy link
Owner

Markdown documents sometimes have YAML frontmatter at the start, which does not render nicely when piped into paper. In particular, the output of gh repo view, for example, includes this frontmatter, so gh repo view | paper does not look great at the top.

The frontmatter should be parsed and removed. It could be shown off the page, or in a table on the page, if desired (maybe put it behind a flag?).

@foxfriends
Copy link
Owner Author

as of the recent change, pulldown cmark supports parsing this. i'll just have to render it properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant