@reaty any updates on rendering math with your plugin? if you don’t plan to add it, would you mind sharing the basics on how to make it work?
It will be added in the next update.
Added it.
Btw, in general rendering math turned out to be very easy, because Obsidian have a function for this. You can just do:
loadMathJax() // load once for the session
let math = renderMath(text, false) // create math element
finishRenderMath() // need to do after renderMath
container.append(math) // add math element where we need it
The tricky part is just finding all the containers and updating them on every change.
thanks so much for adding it! i tried it out, it’s perfect for the bases i’ve been working on ![]()
and thanks for sharing how you did it, i’ll have to mess around with it some! one thing i noticed is that multiline displaystyle doesn’t work, eg
$$
\begin{align}
a & = b \\
c & = d
\end{align}
$$
in most cases this isn’t needed, but it’s good to know the edge cases
I don’t know how it is supposed to work, but it seems to look the same as in the note.
it works unless the linebreaks are there. copy-pasting in removes the linebreaks though, which is nice.
Is there a way to see colored items (with its own color) in dropdown menus too?
I’ll look into this, but it can be kinda tricky to implement.
That plugin is great. Great updates.
I realize that color functionality is possible in right-click menus over list properties and tags. That is very functional..
Why still in Beta?
It is in beta because it have not been approved yet. You shouldn’t ask me why, it’s not for me to decide, I submitted it in June, lol.
Approval process just takes a lot of time this days, I guess.
I thought you did not send .
Sorry, misunderstood. wow months passed.
I think maybe me constantly updating slows it down, but I tried to wait and not update first and then got tired of waiting. So now I just stopped caring, lol.
Btw, I added the new update that makes all banners and images load much faster when the file opens.
Also if you are still expiriencing some blinking when note with the banner opens, you can fix it by using this css snippet:
.pp-loaded .workspace-leaf > .workspace-leaf-content > .view-content > .markdown-reading-view > .markdown-preview-view:not(:has(.banner-image)),
.pp-loaded .workspace-leaf > .workspace-leaf-content > .view-content > .markdown-source-view:not(:has(.banner-image)) {
opacity: 0;
}
I am still unsure if I should add this css directly to the plugin, because it is still possible that it can cause some issues, so I’ll just leave it here for now.
Not sure that blinking thing, but with last update I think performance is a bit better. Also I added snippet.
I like covers and banners. I use covers in locations, movies, series, books, games and etc. Its like a pass photo for the note.
Like I said, I like banners but I don’t use them very much. I think banners are more Thematic. So I dont wanna hardcode them in notes. For example, all my notes have a Type property and Up property for upper categories. Everyone has their own way.
If your banner system is more dynamic, like Iconic rulebook, I am definitely use it. Few cases for me:
- Type:Location notes with Up:Restaurants, Parks, Hotels, Camping, etc.
- Type:Book notes with Genre: Sci-Fi
- Type:Movie or Series notes with Genre: Action, Fantasy, Anime, etc.
- Type:Clipping notes with Up:Tech, Culture, etc
- Type:Project notes with Up:Features, Blogging, Design, Holidays, etc.
For me, all that kind of stuff is Thematic and can be better represented with banners. Every book, movie, series location has their own special cover and a Thematic banner. Thats what I am thinking. It is possible with current system, but I prefer to change visual themes often and static property not fit for me.
I use Banners only in my daily notes. I made a mood collection. 8-10 banners. I choose one of them for the day.
As a feature request / suggestion, implementing a dynamic banner system would be great, with rules based on properties. If there is a “Banner” property, the file will use that banner. Otherwise, it will use the ruling system’s banner.
Hardcoded “Banner” property will override the dynamic system.
I will open an issue on GitHub for this. Think about that, please. How hard, I don’t know. But it can be functional, vault-wide. Last call is up to you as plugin’s dev.
Hello, love the plugin! I do have one question, is there any way to set different color for the icons when the base color scheme is light or dark?
I don’t know, I kinda don’t want to add more features to the banners in the nearest future. There are other plugins fully dedicated to banners, that are much more powerful, so I wanted to keep my banner feature plain and simple.
Not for now, but I can add additional option for dark theme.
Check the new version, you can now set separate icon colors for light and dark themes.
I see, Pixel Banner has great settings. Also, a folder automation over there. Not like a property rule versatility but great.