# gorltom golang url to mark-down API gorltom is a simple to use API that takes in a full url as a string on this endpoint: https://gorltom.corbia.net/api/url It will then open the page with chromedp (just in case we need to wait for some JS generated content...) and will then take this html atrocity: ```html Title of the example webpage

Title of the article

Text of the first paragraph of the article.


Text of the second paragraph of the article.


Text of the third paragraph of the article but this time it contains a link inside of the text.


``` And return this beautiful markdown as a string: ```md # Title of the example webpage ###### (*gorltom extract of https://notexample.com/*) ###### *assumed_menu* - [ABOUT](https://notexample.com/about) - [BLOG](https://notexample.com/blog) ###### *article* ### Title of the article Text of the first paragraph of the article. Text of the second paragraph of the article Text of the third paragraph of the article but this time it contains a [link]("https://link-to-another-website.com/example") inside of the text. ``` The API will be expecting the following JSON: ```json { "url": "https://full-url-of.com/the/page" } ``` And will return the following: ```json { "md" : "# Home of full-url-of\n###### (*gorltom extract of https://full-url-of.com/the/page*)\n\n## Some header\n\n#### A tagline maybe\n\n###### *assumed_menu*\n- [HTML for newbies](https://full-url-of.com/html)\n- [CSS for artists](https://full-url-of.com/css)" } ``` gorltom is opiniated. Every nav is treated as an "assumed_menu", if the html contains `
` or `
` tags, it will be indicated in the markdown version. Every table will be turned into csv ```html
First Name Age
Alice 32
Bob 34
``` ```csv First Name,Age Alice, 32 Bobo, 34 ``` The HTML is parsed from top to bottom, node after node.