gomarkdoc icon indicating copy to clipboard operation
gomarkdoc copied to clipboard

Bug in generating markdown files with characters *(){}[]-

Open manlopes opened this issue 3 years ago • 0 comments

Hi, I've noticed that, when generating markdown files with some characters like "*(){}[]-", the output is not correct and backslashes are added to the md file before each of the characters. See example below:

Source comment:

// **param** c (context.Context): Execution context

markdown output

\*\*param\*\* ctx \(context.Context\): Execution context

This issue is similar to issue https://github.com/princjef/gomarkdoc/issues/68

manlopes avatar Jul 19 '22 11:07 manlopes