paint-brush
How To Convert HTML to Markdown with a Serverless Functionby@michaelvigor
1,399 reads
1,399 reads

How To Convert HTML to Markdown with a Serverless Function

by Michael Vigor5mAugust 17th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How To Convert HTML to Markdown with a Serverless Function using AWS Lambda function. The function converts HTML for a URL into Markdown. It is designed for blog posts, news articles which have a clear "body content" section which can be the focus of the output. The code is then stripped back to just the essential article content, and then converted to markdown. To deploy it you’ll need an AWS account, and to have the serverless framework installed. The process is designed to be executed from within the node script, which involves spawning it in a child process.

Company Mentioned

Mention Thumbnail
featured image - How To Convert HTML to Markdown with a Serverless Function
Michael Vigor HackerNoon profile picture
Michael Vigor

Michael Vigor

@michaelvigor

L O A D I N G
. . . comments & more!

About Author

Michael Vigor HackerNoon profile picture
Michael Vigor@michaelvigor

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite