Quote:
Originally Posted by Binchen
This is a good idea, but I don't want the text to be bold, but in flashing purple.
|
You should learn about Clips then.
1. Press
Tools > Clip Editor (Ctrl+Alt+C).
2. Create a new Clip by pressing the "Add Entry" button:
Name: Highlight
Text: <span class="highlight">\1</span>
then press the "Save" button.
3. In Sigil's main window,
View > Clips lets you see a list of all your clips.
4. Now, when you highlight text like the word "example" in this sentence:
Code:
<p>This is an example sentence.</p>
then press your "Highlight" Clip, this will happen:
Code:
<p>This is an <span class="highlight">example</span> sentence.</p>
5. Clips can also be controlled by shortcuts.
If you go into
Edit > Preferences > Keyboard Shortcuts, you can assign shortcut keys for Clip 1 -> Clip 20.
By default, Clip 1 = Ctrl+Alt+1
This would allow you to highlight your text, then instead of pressing Ctrl+B (to bold), you instead press Ctrl+Alt+1 (to highlight).
(You can now change each clip's shortcut to whatever you want.)