Re: A bug on asciidoctor 0.1.4 in UI Macros?
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/A-bug-on-asciidoctor-0-1-4-in-UI-Macros-tp576p598.html
Correct. I took out the button styling because I believe it is misleading. You aren't defining a button in the documentation, but rather referring to a button in the UI (for which the look and feel varies widely). We can style the keyboard as a keyboard button because that's a recognizable object in the real world and pretty much looks the same everywhere.
As Jason mentioned, it's possible to customize the look and feel using styles in a docinfo file or custom stylesheet. Though, if there is a better style choice than simply bold text for the default stylesheet, we could certainly consider making that change.
Now that I think about it, the following CSS would probably fit well here:
```css
b.button:before {
content: "[ ";
}
b.button:after {
content: " ]";
}
```
Then, it would appear as: Click on the [ OK ] button to continue.
wdyt?
-Dan