Is it possible to apply styles to a snippet once it has been embedded?
I'd prefer to keep my snippets as 'pure' as possible, with only character styles in place. This way I can embed the snippet into a variety of topics and different places where different paragraph/list styles can be placed. i.e a P style that includes a colored background, where as in another instance I dont want the colored background.
I can't see any option to do this so far.
Is it possible?
Thanks,
Nick.
Applying styles to snippets
-
nickatwork
- Sr. Propeller Head
- Posts: 457
- Joined: Thu Sep 16, 2010 6:31 am
- Location: London
Re: Applying styles to snippets
Yes, you can insert a snippet as text, as opposed to a block.
A text snippet will use the style of the paragraph (or whichever tag(s)) that it is embedded in.
From the help...
A text snippet will use the style of the paragraph (or whichever tag(s)) that it is embedded in.
From the help...
Text and block snippets
You can create a text snippet or a block snippet. This is determined by the way you insert the snippet. If you insert a snippet on a blank line in a topic, it is inserted as a block snippet and takes up all of the room so that no other content can be added. If you insert a snippet on a line where other content exists, it is inserted as a text snippet. Therefore, if you want to insert a snippet on a blank line and also type other text before or after it, you need to type the text first and then insert the snippet afterwards. Also, if you have a snippet containing multiple paragraphs and insert it within a line of text, the snippet becomes just one continuous line of text because it is a text snippet.
When you create a text or block snippet, it displays surrounded by brackets (if you have markers turned on). Example
-
nickatwork
- Sr. Propeller Head
- Posts: 457
- Joined: Thu Sep 16, 2010 6:31 am
- Location: London
Re: Applying styles to snippets
brilliant thanks very much.
Nick.
Nick.