BambusControl / obsidian-unicode-search

Simple Unicode character search for Obsidian.md
Apache License 2.0
39 stars 3 forks source link

Cannot find some characters #1

Closed merlinuwe closed 1 year ago

merlinuwe commented 1 year ago

Thank you for your great plugin.

I like to use

Rightwards Harpoon Over Leftwards Harpoon

⇌ (U+21CC)

but I cannot find it.

Isn't it possible to find all unicode signs, yet?

I'm on android.

BambusControl commented 1 year ago

Hello @merlinuwe. You're right.

After taking a quick look, a lot of characters are missing from the list. I will need to take deeper look into how to pull all Unicode characters.

Thanks for taking the time and effort to write the issue.

BambusControl commented 1 year ago

Problem

Only a few pages of Unicode characters were initially put into the plugin. That means a lot of characters are missing.

Temporary Workaround

Edit the plugin data file.

  1. Close your Obsidian Vault
  2. Open the /.obsidian/plugins/unicode-search/data.json file of your vault.
  3. Go to the very end of the file.
  4. Add a comma after the last record.
  5. Append the info for a character you wish to add.
{
    "meta": {
        "initialized": true,
        "version": "1"
    },
    "data": {
        //... a bunch of characters will be here ...
        "𝇩": {
            "name": "zorro",
            "char": "𝇩"
        }, // 3. Add a comma here
        // 4. [start] Add your character info here
        "⇌": {
            "name": "rightwards harpoon over leftwards harpoon",
            "char": "⇌"
        }
        // 4. [end]
    }
}
BambusControl commented 1 year ago

Fixed in Release 0.4.0. However, not all characters are present, as it proved a strain on the search performance.

ShahriarKh commented 11 months ago

Thanks for this awesome plugin! Maybe add this guide in the README?