emphasis role="strong": quick way to enter

Oxygen general issues.
mike004
Posts: 18
Joined: Fri Feb 18, 2011 2:29 pm

emphasis role="strong": quick way to enter

Post by mike004 »

I need to mark up a lot of strings as bold text, using <emphasis role="strong">

<emphasis role="strong">hello</emphasis>

Using Ctrl-E, I can quickly wrap a string with <emphasis>. But is there a way to avoid manually typing in the role="strong" attribute.

Maybe I can temporarily set role="strong" to be the default attribute for all emphasis elements?
mike004
Posts: 18
Joined: Fri Feb 18, 2011 2:29 pm

Re: emphasis role="strong": quick way to enter

Post by mike004 »

Looks like I can do this by creating a code template:
<emphasis role="strong">${selection}</emphasis>

Select the text to wrap, press Ctrl-Space, then choose the code template.
Quicker than typing it all in manually!
Post Reply