Quote:
Originally Posted by bookman156
I'd like a plugin, or something built into Sigil itself, that enabled you to choose whether you wanted to use <em> and <strong> for italic and bold or <i> and <b>.
|
If you prefer <em> and <strong>, you could easily add this feature via clips and/or the clip toolbar.
1. Open the clip editor (CTRL+ALT+C)
2. Create two new clips:
a) Clip 1: name: em; text: <em>/1</em>
b) Clip 2: name: strong; text: <strong>/1</strong>
(Both clips need be the first two clips; use the arrow keys to move them to the top if necessary.)
This will allow you to do the following:
a) Highlight text, right-click and select Clips > em/strong.
b) Right-click somewhere in the main toolbar; unhide the Clip Bar, select text and click the em or strong Clip Bar buttons.
c) Select Edit > Preferences > Keyboard Shortcuts. Delete the shortcuts after Italic and Bold (CTRL+I and CTRL+B) and assign them to Clip 1 and Clip 2.