oliveryh/obsidian-emoji-toolbar

Could Twitter emoji be switched off automatically in specified cases?

Einspieler19 opened this issue · 2 comments

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

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

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.