-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add ability to ignore YAML front matter #994
Comments
This a tricky one; do you have any suggested implementations? We could scan the front matter for a particular key, for instance. |
I was just looking for this and was going to build it in my app. I'm planning on doing it like this: html = my_markdown.gsub(/\A\-\-\-(\r\n?|\n).*?\-\-\-(\r\n?|\n)+/m, '') That removes an initial line of Might help... |
@andyjeffries 👋 Thanks for that! Seeing as we're already parsing it out, I think the actual act of removing it should be simple; my concern is more around controlling how we trigger the behaviour. I'm struggling to come up with a neat way to do this that doesn't feel orthogonal to the design. |
What about defining a specific variable |
I wish this was possible. The front matter table the appears in github has no purpose. |
Is it not? I see this issue was mentioned in "Rework Documentation completely" but the conversation seemed to be inconclusive. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@GitHub-Actions, it remains relevant. See actions/stale#1190 (comment). |
Since github officially supports jekyll as its static site generator for github pages, there should be a way to ensure front matter can be excluded from rendering when being displayed on github.com
The text was updated successfully, but these errors were encountered: