wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.51k stars 72 forks source link

Feature-Request: Add shortcut keys for superscript and subscript #177

Closed northword closed 1 year ago

northword commented 3 years ago

First of all, thank you for developing such a good plugin! And I have a small idea.

Application scenario

For example, i have a item named "Influence of surface active groups on SO2 resistance of birnessite for low-temperature NH3-SCR", and when I generate citations in Word, I need to make "2" the subscript. In order to achieve this, I had to manually add <sub>, which is very troublesome.

image Fig. 1 item without sub

image_no_sub Fig. 2 Bibliograohy without sub

image Fig. 3 item with sub

image Fig. 4 Bibliograohy with sub

Solution

When I select 2 and press ctrl+=, Zutilo can replace it with <sub>2</sub>. Similarly, when I press ctrl+shift+=, replace it with <sup>2</sup>

IdoBar commented 2 years ago

Following this thread, I would like to create a similar shortcut for adding other HTML tags around selected text.

northword commented 1 year ago

solved by https://github.com/northword/zotero-format-metadata