I’m trying to use the @doc macro to extract help text in a certain form, close to what Docs.stripmd() does. For example, “@doc strip”. The issue is, what modification do I need to make to stripmd() to make it preserve newlines?
Docs.stripmd(x::Markdown.LineBreak) = println()
but it doesn’t work in the “@doc strip” example.