importance="optional" for li ?
Posted: Thu Feb 08, 2018 8:23 pm
We recently converted our content to Dita. Some of our tasks correctly use steps/step but many are still using ul/li. We eventually intend to convert them but that cannot be completed in the available timeframe.
We want optional steps to be labelled as "Optional:" regardless of whether the importance is on the step or on the li.
importance="optional" is valid for li. I added the following to the style sheet, but the output does not include the label. How can I get this to work?
We want optional steps to be labelled as "Optional:" regardless of whether the importance is on the step or on the li.
Code: Select all
<li importance="optional">Do this.</li>
Code: Select all
li[importance="optional"]:before {
content: "Optional: ";
font-weight: bold;
}