-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert HTML to markdown format for Dokka compatiblity #136
Labels
Comments
kggilmer
added
feature-request
A feature should be added or improved.
jr1614819667645
labels
Mar 4, 2021
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Unlike javadoc, Dokka does not support embedded HTML in comments. The Smithy spec specifies that documentation is specified in CommonMark, of which HTML is a subset. In practice, most if not all AWS docs appear to be HTML documents.
When HTML is embedded in Dokka comments, the IDE does not display any content wrapped in tags. The short term solution is to simply remove most common HTML tags from the HTML documentation so that it is visiable to the user. However this destroys formatting and other important information. The better solution is to convert HTML markup into markdown.
From a brief search there seem to be a few JVM libraries that do this. Unsure if they are suitable or a homegrown solution is needed.
Acceptance Criteria: HTML docs are translated into Markdown such that important details and basic formatting are preserved from the HTML.
internal id: 177053427
The text was updated successfully, but these errors were encountered: