extensions
extensions copied to clipboard
[Obsidian] Hide frontmatter properties and rendered code blocks
Extension
https://www.raycast.com/KevinBatdorf/obsidian
Description
This plugin is fantastic and it's the one that's really driven me to start using Raycast instead of reaching for Alfred almost all of the time, thank you for your work!
With frontmatter properties becoming more and more important in Obsidian it's pretty easy to get notes where nothing but frontmatter is getting shown in the initial window and you have to scroll down to get to the actual note content. This issue is compounded if you use dataview or any other type of code blocks that are rendered rather than shown inline at the top of your notes.
If the notes can be easily parsed I'd love the following two options:
- Hide frontmatter properties.
- Hide rendered code blocks (as much as practical, at least `dataview, dataviewjs,
Maybe in the future frontmatter could be extracted into the metadata section and frontmatter could be hidden by default.
Just rendering the frontmatter as YAML rather than note text would be an improvement but not negate the scrolling issue.
Who will benefit from this feature?
Anyone who uses a lot of frontmatter-based properties (not dataview inline properties). Now that Obsidian has native support for easily creating and displaying properties this will likely be a growing use case beyond people just using things like Metadata Menu and Make.md.
Admittedly, rendered code blocks are probably a bit more of an outlier issue.
Anything else?
As a point of reference, here's what that note looks like in Obsidian, I only render the properties I want to see via Dataview while other properties have other functions.
I doubt rendering dataview outside of Obsidian would ever be practical but just getting to the note text when I use Raycast would be awesome!
Thank you for opening this issue!
🔔 @KevinBatdorf @marcjulianschwarz @iancanderson @pernielsentikaer @ofalvai @adamadamsmusic @FServais you might want to have a look.
💡 Author and Contributors commands
The author and contributors of KevinBatdorf/obsidian
can trigger bot actions by commenting:
-
@raycastbot close this issue
Closes the issue. -
@raycastbot rename this issue to "Awesome new title"
Renames the issue. -
@raycastbot reopen this issue
Reopen the issue.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
Would also love this feature!
Sorry for the late follow up. Does the setting to hide the frontmatter work?
Can you share a typical note that I can use to test on? Maybe if I see it I can better understand the problem
I don't know how I missed that but it works perfectly! Sorry for raising an unnecessary issue.