DISCOVERED IN HACKER NEWS

Dom to semantic markdown

Convert HTML DOM to semantic markdown for use in LLMs

Developer tools
1Recommendation signals
2Sources
2024-09-07Latest mention

Why does HN talk about it?

Automatically selected excerpts in their original language. Read the full discussion for context.

@yawnxyz
I found that reducing html down to markdown using turndown or https://github.com/romansky/dom-to-semantic-markdown https://github.com/romansky/dom-to-semantic-markdown works well;
Read the full discussion
@leromanShow HN
Show HN: Convert HTML DOM to semantic markdown for use in LLMs
Read the full discussion