oliveryh / obsidian-emoji-toolbar

An Obsidian plugin to quickly add emojis into your notes
BSD 3-Clause "New" or "Revised" License
202 stars 11 forks source link

Could Twitter emoji be switched off automatically in specified cases? #47

Open Einspieler19 opened 2 years ago

Einspieler19 commented 2 years ago

Hi, I really like those Twitter emojis! However I'm using a reading list implemented by @cumany based on dataview, where the Twitter emojis are poorly rendered:

image

I guess it could be hard to resize them in the dataview generated table, so maybe it's possible that this plugin could automatically turn off twitter emojis in such cases?

The code for dataview:

table without id ("![](" + cover + ")") as Cover,  "<progress value=" + pageprogress + " max="+pagecount+"  class='yellow'>" as progress,file.link as Name, status as Status,publish,grade as Grade
from #book 
where !contains(file.folder, "88-Template") 
sort rating desc
oliveryh commented 1 year ago

Hi @Einspieler19 - Have you tried turning off twemoji in the plugin settings?

ShahriarKh commented 1 year ago

I also noticed that emojis inside code blocks are removed in reading mode (probably because the actual emoji "character" is replaced with a twemoji "image"). What do you think about having an option to disable twemoji in specific elements? Specifiying elements can be done by using their html tags, css classes or even page meta attributes.