We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
API endpoint should allow contentType as text or markdown
It seems the contentType argument is not present in the code, as the code only takes url and html from the request -
https://github.com/postlight/mercury-parser-api/blob/b6a04af54b3d734e96aa72e487659c087ba09295/src/parse-html.js#L6
Code should be updated to accept opts as per Mercury parse - https://github.com/postlight/mercury-parser/blob/b0e708aac6a4e7e10986448a132d60df57c45b00/src/mercury.js#L13
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
API endpoint should allow contentType as text or markdown
Current Behavior
It seems the contentType argument is not present in the code, as the code only takes url and html from the request -
https://github.com/postlight/mercury-parser-api/blob/b6a04af54b3d734e96aa72e487659c087ba09295/src/parse-html.js#L6
Steps to Reproduce
Detailed Description
Possible Solution
Code should be updated to accept opts as per Mercury parse - https://github.com/postlight/mercury-parser/blob/b0e708aac6a4e7e10986448a132d60df57c45b00/src/mercury.js#L13
The text was updated successfully, but these errors were encountered: