Skip to main content
Inspiring
Oct 26, 2009 5:20 PM UTC
Question

Formatting snippets after embedding RH8

RH8 HTML

Im wondering if there is a way to format a snippet of text after if inserted it into a topic.

I want the text to remain unformatted while its in the snippet, but when I embedd it I want to be able to apply numbering, or bullets or whatever else is needed.

this has come about because I have a lot of short descriptions about a field in a window and in some places listing them would be useufl, but in other having no bullets would also be handy, I dont want to constrain myself to formatting in the snippet itself.

I can use the bullet icon in RH but its not the bulelt style I want, I try to apply my custom bullet but it wont apply, the only way I can do it is to code the HTML manually, which does work. But having to do this 100 or so times is going to become veeeeery annoying and time consuming.

Is there a way around this?

Thanks.

Nick

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Willam van Weelden
Inspiring
Oct 26, 2009 5:46 PM UTC

Hi,

Isn't it easier to put those short text in variables?

Greet,

Willam

Translate
Nick27Author
Inspiring
Oct 26, 2009 5:52 PM UTC

I thought about that, using variables, but its likely that within these small descriptions that I will have variables. So I didnt think a variable, within a variable would work. So I ditcehd it in favour of the snippets.

I dont really understand it though, are you guys able to apply custom list styles to snippets?

Mine wont work, only the default 'disc' bullet or standard numbering, nothing based on the styles I've made, unless I hard code it....

a bug perhaps?

Translate
Willam van Weelden
Inspiring
Oct 26, 2009 5:57 PM UTC

Hi,

A snippet is just a HTML file with a different extension. I always go to html mode and add my style sheet in html (<link rel="stylesheet" href="<path to your style sheet>" type="text/css">

Save your snippet and you can now select all the styles from your style sheet. These styles are retained in the topic you use them. (Use the same css in the topics as in the snippets, otherwise your styling will be lost.

Greet,

Willam

Translate
RoboColum_n_
Legend
Oct 26, 2009 5:38 PM UTC

You can apply a style after the snippet has been added to the topic but that is about it. Could you create a list or multi-lish style that you could apply?


Read the RoboColum(n) for a tips, tricks and musings on the Technical Communication Suite products.

Translate