-
Notifications
You must be signed in to change notification settings - Fork 29
add markdown conversion to html and run current tests #6093
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #6093 +/- ##
==========================================
Coverage 74.21% 74.21%
+ Complexity 5643 5642 -1
==========================================
Files 388 388
Lines 20304 20308 +4
Branches 2094 2094
==========================================
+ Hits 15068 15071 +3
Misses 4238 4238
- Partials 998 999 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Manually tested via dockstore/swagger-java-zenodo-client#26 |
|
||
|
||
// convert from Markdown to HTML (feels weird but plain text from (e.g.) WDL descriptors should remain unmolested even if not Markdown) | ||
// most descriptions are just READMEs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kinda makes me wonder if, someday, we should track the source (README, descriptor file, etc) or type (plain text, markdown, html) of the description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Convert descriptions (usually Markdown) from Markdown to HTML
GitHub Markdown is a superset of CommonMark https://github.github.com/gfm/
Seems to just work, but there are a wealth of extensions and settings possible.
Review Instructions
Wait till staging/prod, examine a few automatically generated DOIs and their descriptions.
Issue
See also dockstore/swagger-java-zenodo-client#26
Security and Privacy
None
Please make sure that you've checked the following before submitting your pull request. Thanks!
mvn clean install
@RolesAllowed
annotation