I have a large HTML-5 project that uses an "InternalOnly" condition to hide text in customer docs while documenting new but not yet released features.
I'd like to create an output version from this project that shows all of those conditions highlighted, so the engineers can let me know which chunks to unhide. So I'm looking to include text that's conditionalized with the "InternalOnly" tag, but have a background-color style applied to it in the output.
Is there a quick way to do that? Not all of the tagged text will be in spans. Some paragraphs, some tables, some divs, etc.
Output with conditional text highlighted (not hidden)
-
- Propeller Head
- Posts: 85
- Joined: Wed Mar 05, 2014 10:22 pm
- Location: Near Santa Cruz, CA
- Contact:
-
- Sr. Propeller Head
- Posts: 308
- Joined: Tue Jun 18, 2013 3:00 am
- Location: Eastern Seaboard, Thailand
- Contact:
Re: Output with conditional text highlighted (not hidden)
Hi - take a look at Dave Lee's post about this:
http://forums.madcapsoftware.com/viewto ... 12&t=19801
I think that would do it.
http://forums.madcapsoftware.com/viewto ... 12&t=19801
I think that would do it.
Tom
Flare 2022, Capture 7
Flare 2022, Capture 7
-
- Propeller Head
- Posts: 85
- Joined: Wed Mar 05, 2014 10:22 pm
- Location: Near Santa Cruz, CA
- Contact:
Re: Output with conditional text highlighted (not hidden)
Spot on! Thank you for saving me a ton of time and trouble.
-
- Jr. Propeller Head
- Posts: 1
- Joined: Wed May 13, 2015 2:40 pm
Re: Output with conditional text highlighted (not hidden)
I'm also trying to highlight conditional content in my output.
I've added the following text to my stylesheet to add a grey background to all content with the InProgress condition tag.
In the HTML5 output, all conditional content is highlighted, except bullets and steps. My understanding is that the conditional content should be highlighted regardless of which style is applied it. Why is it not working for bullets and steps? Is Madcap:autonum causing the problem? When I view a Flare topic in the Text Editor, a step with the InProgress condition tag looks like this:
I've added the following text to my stylesheet to add a grey background to all content with the InProgress condition tag.
Code: Select all
[data-mc-conditions*="Default.InProgress"]
{
background-color: #C0C0C0;
}
Code: Select all
<p class="Steps" MadCap:conditions="Default.InProgress" MadCap:autonum="1. ">