5 ms·
What is the algorithm behind this? Does it attempts to find 2 similar pages of the same website and generate markdown from the diff of their DOM trees?
by fenollp 10y ago
What is the algorithm behind this?
Does it attempts to find 2 similar pages of the same website and generate markdown from the diff of their DOM trees?
- troels 10y agoLooks like it runs the page through a readability algorithm. From there, it probably has a pretty straight 1:1 html to markdown mapping.
- diggan 10y agoNo, it's simply a service/tool that converts a html page into markdown. So let's say you have something like this: <h1>Title</h1> <p>Some wordy stuff <a href="example.com">with a link</a> It would convert it into # Title Some wordy stuff [example.com](with a link)