obsidian-icon-shortcodes
obsidian-icon-shortcodes copied to clipboard
Ability to add custom icon pack without prefix
I use obsidian-icon-shortcodes
without Replace emoji shortcode with emoji character
option bacause I want cross-editor compatibility.
There is no :speaking_head: (speaking_head
) emoji avaiable in Obsidian.
There is :speaking_head_in_silhouette: which doesn't work in Github.
So in extension settings I created an icon pack named extraemojis
and add speaking_head.png
to it
This new emoji correctly appears in list as speaking_head
but when I select it, it transforms to :extraemojis_speaking_head:! If I remove prefix extraemojis_
icon image in my markdown page icon will stop to show in Obsisian.
Please provide ability to have icon pack without prefix!
@aidenlx, please check this issue :pleading_face:
(Very powerful summoning spell of @aidenlx)
Maybe it would be better to just add ability to set aliases { [desired_name]: existing_name }
for full name with prefixes in config.
Example:
{
"aliases": {
"speaking_head": "speaking_head_in_silhouette"
},
"code2emoji": false,
"suggester": true,
"disabledPacks": [
"test"
],
"triggerWithTrailingSpace": false,
"spaceAfterSC": false,
"isMigrated": false
}
Seems Custom emojis or aliases are not supported by node-emoji yet: Custom emoji | node-emoji issue #95