Making a variable bold without using inline formatting

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
aharper12
Propeller Head
Posts: 29
Joined: Wed May 01, 2019 12:13 pm

Making a variable bold without using inline formatting

Post by aharper12 »

Hi everyone,

Just starting to dig into Flare, learning css, and pulling some hair out while I am at it :)

Question - is there a way to make a variable bold, without using inline formatting? We use variables to reference buttons in our software, and we want them to also be bold. I have not been able to figure this out so far!

Thanks in advance.
Adriana
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Making a variable bold without using inline formatting

Post by ChoccieMuffin »

I would use a span, defined in my stylesheet, and insert the variable inside the span. That's how I used to have to do it, currently my projects don't require this, so there may be a better way to do it.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Chicago_HPT
Sr. Propeller Head
Posts: 133
Joined: Sun Feb 03, 2013 6:01 pm

Re: Making a variable bold without using inline formatting

Post by Chicago_HPT »

I made snippets for variables that I need to format, where I applied a span style as ChoccieMuffin mentioned. Then, instead of inserting the variable into a topic, I insert the snippet. If the variable has multiple definitions, I can set the value by right-clicking the inserted snippet and using the snippet variable option from the pop-up menu.
Post Reply