I have the following Markdown string:
`log-level` (optional)<br>
Sets the minimal log level messages need in order to be printed to stdout.
Allowed values:
- `debug`
- `warning`
- `error` (default)
GitHub as well as Stack Overflow render it like this (blockquote added for visual distinction):
log-level(optional)
Sets the minimal log level messages need in order to be printed to stdout.Allowed values:
debugwarningerror(default)
As visible here and in the screenshot, the Markdown renderer adds spacing between the last paragraph ("Allowed values") and the first list item.
Checking the generated HTML shows why:
<p><code>log-level</code> (optional)<br>
Sets the minimal log level messages need in order to be printed to stdout.</p>
<p>Allowed values:</p>
<ul>
<li><code>debug</code></li>
<li><code>warning</code></li>
<li><code>error</code> (default)</li>
</ul>
The text "Allowed values" is placed in an own <p> tag, and there is a margin between the <p> and the following <ul>.
Is there a way to reduce or get rid of that space, such that it roughly matches the space between list items?