You can stop this happening by putting some spaces before the function:
"""
prepare_something!(dfin,treat_as_categorical_variable,independent_vars::Vector{String})
bla bla
"""
I think it’s Markdown trying to make things italicized…
The manual quoth:
Always show the signature of a function at the top of the documentation, with a four-space indent so that it is printed as Julia code.