Add to_text() and to_markdown() export features to JustHTML playground#162
Add to_text() and to_markdown() export features to JustHTML playground#162
Conversation
- Add two new playground modes: "Extract Text" and "To Markdown" - Both modes support optional CSS selector to target specific elements - Leave selector empty to convert the whole document - Uses justhtml's built-in to_text() and to_markdown() methods - Shows match count when using selectors, "Whole document" otherwise
|
Claude finished @simonw's task —— View job Code Review Complete ✅I've completed a thorough review of the pull request that adds text extraction and markdown conversion features to the JustHTML playground. Here are my findings: Todo List:
Code Quality & Best Practices ✅Strengths:
Minor Suggestions:
Potential Bugs & Issues ✅No Critical Issues Found The implementation looks solid with proper:
Performance Considerations ✅Well Optimized:
Security Assessment ✅No Security Concerns:
Test Coverage Assessment
|
|
Now live at https://tools.simonwillison.net/justhtml
|

Uh oh!
There was an error while loading. Please reload this page.