JuliaFormatter.jl
JuliaFormatter.jl copied to clipboard
Formatter Doesn't Add Line Breaks to Docstrings
trafficstars
As title says -- docstrings don't get line breaks.
@ParadaCarleton can you post an example
@ParadaCarleton can you post an example
(This is after formatting.)
oh you mean the text in the docstring. Yeah atm that's not done, but it could be. There may be Markdown edge cases where a link break causes an issue but I'm not sure
if you meant the code in the docstring you could do that with kwarg format_docstrings = true
https://domluna.github.io/JuliaFormatter.jl/stable/api/#JuliaFormatter.format_text-Tuple{AbstractString}