Skip to content

Instantly share code, notes, and snippets.

@mattheworiordan
Created April 6, 2026 08:01
Show Gist options
  • Select an option

  • Save mattheworiordan/99ba717f7a8ca5a7f838913722cfe7ac to your computer and use it in GitHub Desktop.

Select an option

Save mattheworiordan/99ba717f7a8ca5a7f838913722cfe7ac to your computer and use it in GitHub Desktop.

Demo: md-fit strips comment attribution

This gist exists to demonstrate a bug in crawl4ai's md-fit output format.

When crawled with -o md, comment usernames are preserved. When crawled with -o md-fit, comment usernames are stripped.

Try it yourself:

crwl crawl <this-gist-url> -o md
crwl crawl <this-gist-url> -o md-fit
@mattheworiordan
Copy link
Copy Markdown
Author

This is a test comment by mattheworiordan. If you crawl this gist with crwl crawl <url> -o md, you should see this username. With -o md-fit, the username gets stripped and only 'commented ' remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment