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
Add optionlisting directive #9995
Comments
Do you mean this for declare multiple options a la the normal option directive ( .. option:: -fdiagnostics-plain-output
-fdiagnostics-show-location=[once|every-line]
-fdiagnostics-color=[auto|never|always]
Diagnostics options. |
No, it's about using Enable with ..optionlisting:
:option:`-fdiagnostics-plain-output`
:option:`-fdiagnostics-show-location`:samp:`=[once|every-line]`
:option:`-fdiagnostics-color`:samp:`=[auto|never|always]` |
Would it be possible to use a normal list? |
Well, I don't want to emit the bullet points at the beginning of a line. |
Right. Then perhaps a line block might be useful: | :option:`-fdiagnostics-plain-output`
| :option:`-fdiagnostics-show-location`:samp:`=[once|every-line]`
| :option:`-fdiagnostics-color`:samp:`=[auto|never|always]` |
Kudos! It works perfectly well. |
However, a small difference is the vertical spacing: for Normal option3. Test :samp:`{samp}` and ``emph``.
| :option:`-fdiagnostics-plain-output`
| :option:`-fdiagnostics-show-location`:samp:`=[once|every-line]`
| :option:`-fdiagnostics-color`:samp:`=[auto|never|always]`
Using GOL:
:option:`-fdiagnostics-plain-output` |gol|
:option:`-fdiagnostics-show-location`:samp:`=[once|every-line]` |gol|
:option:`-fdiagnostics-color`:samp:`=[auto|never|always]` |gol|
|
Please support a new
optionlisting
directive:That would emit
|gol|
at the end of each line? Instead of manually placing the|gol|
at the end of every line.Originally reported in #9925.
The text was updated successfully, but these errors were encountered: