Mermade / widdershins

OpenAPI / Swagger, AsyncAPI & Semoasa definitions to (re)Slate compatible markdown
https://mermade.github.io/reslate
MIT License
1.49k stars 320 forks source link

Option to remove html comments in the generated markdown #326

Open shrirambalaji opened 4 years ago

shrirambalaji commented 4 years ago

Is your feature request related to a problem? Please describe. Widdershins adds html comments to the converted markdown documents: https://github.com/Mermade/widdershins/blob/5eb430bda1cf811b0ce294db0ad0e77aabc1efce/templates/openapi3/main.dot#L68

Describe the solution you'd like Is it possible to remove these comments, from the template, or expose an option for the user to not include them?

Describe alternatives you've considered Currently, I'm stripping out html comments by regex string replacement, but it would be great if something like that could be handled in widdershins itself.

MikeRalphson commented 4 years ago

Just for clarity, are the comments causing any sort of problem?

shrirambalaji commented 4 years ago

@MikeRalphson Yes, those are causing problems with JSX.

MikeRalphson commented 4 years ago

HTML comments will be removed in the next release.

braco commented 1 year ago

Was there never a next release @MikeRalphson?