Eliminate blank lines in doc output

OK I know this is a relatively minor thing but it does irritate me. When I define documentation that has a list, there is a blank line between list items. This can take up a bit of space especially for long lists. Example:

julia> @doc """
       - 1st line
       - 2nd line
       - 3rd line
       """ z = 7

help?> z
search: z zip zero zeros set_zero_subnormals get_zero_subnormals LOST_Z count_zeros leading_zeros trailing_zeros size sizeof iszero sizehint! LazyString Csize_t

    •  1st line

    •  2nd line

    •  3rd line

Is there a way to format the output to eliminate the blank lines? That is, have the list look like:

    •  1st line
    •  2nd line
    •  3rd line

It should be noted that the blank lines are being inserted when the docstring is outputted. the docstring itself does not have any blank lines:

julia> print(@doc z)
  * 1st line
  * 2nd line
  * 3rd line

Note: I know I can use triple backticks to get an output without blank lines but that outputs everything in blue which does not look great for a list.

The blank lines can be eliminated by defining a markdown extension via string interpolation.

Unfortunately interpolation is not the answer since the interpolated string still gets parsed by the Markdown parser and blank lines are inserted.

Could you instead use \endash<tab> to replace the minus sign in lists:

@doc """
       – 1st line\\\n
       – 2nd line\\\n
       – 3rd line
       """ z = 7

Result in the REPL:

help?> z
search: z zip zero zeros ZeroPivotException set_zero_subnormals get_zero_subnormals count_zeros    

  – 1st line
  – 2nd line
  – 3rd line