-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Possible improvements to YAML frontmatter handling? #12703
Comments
The rendering essentially comes from yuin/goldmark-meta so it might be better to put a feature request there. However there are a couple of options which gitea provides: setting the gitea value or the gitea meta value to none will hide it, table will show the table and details will hide the table behind a details and summary. |
Ah, fair enough, thanks. 😅 |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
not possible for now see yuin/goldmark-meta#6 |
Description
👋 🙂
Thank you for the frontmatter formatting thingy for Markdown files. Really helps to tidy things up.
Only thing is, I think there's a bit of room for improvement?
For a start, I'm not keen on having each field be a column, because it squishes everything up when it reaches page width and just makes things messy, like in the screenshot below. Would it not make more sense to have each field be a row instead? If need be, possibly collapsible ones?
And in addition, I feel like YAML collections should be treated more like lists? in the below screenshot, they just render as something akin to an array without any comma separation, making it near impossible to tell single- and multi-word items apart. Less than ideal.
Screenshots
The text was updated successfully, but these errors were encountered: