obsidian-dataloom icon indicating copy to clipboard operation
obsidian-dataloom copied to clipboard

[Feature Request] Add custom currency for the plug-in

Open Nikko-A opened this issue 2 years ago • 3 comments

Problem

  1. I needed to add my own currency to the file (Philippine Peso) and wanted to ask for it.
  2. It will not be sustainable to continuously request currencies to be added for the plug-in.

Solution

I wondered if it would be possible to instead implement the ability for the user to add their own currencies. Could be implemented with the ability to add their own symbols/hexcode to be used for it, along with dictating which alignment the currency may be in or the number of decimals.

Alternatively (less sustainable), add every currency as an option but all of them would be searchable so as to not bloat the option link.

Additional details

No response

Nikko-A avatar Aug 28 '23 03:08 Nikko-A

I added support for Prefix, Suffix and Number Separators for the number type in #711 It's currently in the dev branch, when it's in master you will be able to use it to add any Currency Symbol, or Symbol in general

roman-balzer avatar Sep 13 '23 23:09 roman-balzer

@Nikko-A Sorry, I missed this. I will add the Philippene Peso. I think the solution @roman-balzer should work for any custom currencies.

decaf-dev avatar Sep 25 '23 18:09 decaf-dev

I definitely don't mind people asking for other currencies to be added.

decaf-dev avatar Sep 25 '23 18:09 decaf-dev