Urgent.News

What's breaking now, across thousands of outlets.

Tech

Turn any website into clean Markdown chunks for RAG

Most RAG quality problems start before the embedding model. If you feed it raw HTML, or text extracted with navigation, cookie banners and footers still attached, every chunk carries the same boilerplate. Retrieval then matches "Privacy policy | Contact us | © 2026" as often as it matches the answer. This post covers the two steps that fix most of it: converting each page to clean Markdown of its…

The article discusses two main steps to improve the quality of RAG (Retrieval-Augmented Generation) systems when using websites as data sources. The first step is converting each webpage's main content into clean Markdown format, while the second step involves chunking that Markdown based on its headings to create coherent sections.

The author, Aurelix, developed a tool called the Website to Markdown Actor to automate the Crawl and Markdown conversion process. This paid tool allows users to crawl within a specific scope, typically a section of a website like /docs/, rather than the entire domain. The Actor strips away unnecessary elements such as navigation menus, headers, footers, sidebars, cookie banners, and scripts, focusing only on the essential content.

The conversion process retains the structure of headings, lists, tables, and code blocks, which carry meaning in Markdown, while plain text would flatten these elements. The chunking follows a two-phase approach: first, splitting the Markdown by headings to ensure each chunk represents a single section, and second, splitting oversized sections at paragraph boundaries, but never within a code block.

Each chunk is annotated with metadata including the source URL, page title, and heading path (e.g., Page Section Subsection), which aids in retrieval and allows the model to cite its sources accurately.

The article emphasizes the importance of respecting the website owner's rules, such as following robots.txt guidelines and crawling at a moderate pace to avoid overloading the server. By applying these two steps—clean Markdown conversion and structured chunking—users can significantly enhance the quality of data fed into RAG systems, leading to more accurate and reliable retrievals.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why Faster Coding Still Leads to Late Releases: A 90-Day Engineering Reset

AI tools can help developers produce code faster. Yet a team can finish more pull requests, run successful demos, and still struggle to explain which features customers will receive next.

  • Teams appear productive but struggle with delivering features on time
  • A 90-day reset aims to clarify priorities, ownership, and processes
  • Weekly priority checks and documented decisions are recommended

How to Optimize Resume Bullets: Verbs + Numbers

Disclosure: I am the maker of all-done.xyz, a free collection of online tools. This post is a cross-post of a guide I wrote there, rewritten here in fresh words.

  • Use precise action verbs to describe responsibilities in resume bullets.
  • Quantify achievements with numbers to demonstrate impact.
  • Choose dynamic verbs and eliminate filler to highlight single clear achievements.

GUI for Docker running on a VPS | Setting up Portainer | Access on your local machine through SSH Tunnelling

To see what's happening in docker, we have Docker Desktop. But what if your VPS runs docker, do we have a GUI for that ? So I recently set up Portainer on my Ubuntu VPS to manage Docker containers…

  • Portainer GUI installed as Docker container on Ubuntu VPS
  • SSH tunnel created for local access without exposing port 9443
  • Password manager recommended for secure storage of Portainer password

ADHD-Friendly Firefox Setup: Reducing Browser Distraction Surfaces

People with ADHD often develop elaborate systems to manage attention, context-switching, and task completion. The browser is where a lot of that system lives — and a poorly configured browser can make…

  • Tab Groups in Firefox help reduce visual clutter by folding related tabs into named groups.
  • Auto Tab Discard suspends unused tabs, reducing memory usage without closing them.

More from Thursday 5 November →