Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docbook: implement <replaceable> #6437

Merged
merged 1 commit into from
Jun 14, 2020
Merged

Docbook: implement <replaceable> #6437

merged 1 commit into from
Jun 14, 2020

Conversation

mboes
Copy link
Contributor

@mboes mboes commented Jun 7, 2020

A <replaceable> is a placeholder that a user is instructed to
replace with a value of their own, like
<replaceable>prefix</replacable>/bin/foo. In the standard Docbook
toolchain, this typically appears emphasized, and no other adornement.
But a <replaceable> is nearly always in a code element, where
emphasis won't work. So we do the same thing as for <optional>:
decorate the content with brackets.

A `<replaceable>` is a placeholder that a user is instructed to
replace with a value of their own, like
`<replaceable>prefix</replacable>/bin/foo`. In the standard Docbook
toolchain, this typically appears emphasized, and no other adornement.
But a `<replaceable>` is nearly always in a code element, where
emphasis won't work. So we do the same thing as for `<optional>`:
decorate the content with brackets.
@jgm jgm merged commit e321843 into jgm:master Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants