Repository navigation
Render the frontmatter as a table in the viewer - #17
Merged
Merged
Conversation
The viewer showed a document's frontmatter as highlighted YAML, which leaves the reader to parse nested maps and lists by indentation. It now opens on a table in the style of the side panel, where a nested map sits under a thin rule, a list becomes tags, and an author, a status and a time take the forms the panel already gives them. Each nested block opens on who wrote it, and a switch above the table shows the raw YAML.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The viewer showed a document's frontmatter as highlighted YAML, which leaves the reader to parse nested maps and lists by indentation. It now opens on a table in the style of the side panel, and a switch above the table shows the raw YAML.
Notes
byblocks above it.Tests
Need help on this PR? Tag
@codesmith-botwith what you need.