-
-
Notifications
You must be signed in to change notification settings - Fork 2
Add tables #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tables #72
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Parse `| col | col |` syntax and render as HTML tables - Add `all:revert` to table elements to prevent host page style leakage - Add compact list styles (ul/ol/li) with proper margins - Add header styles (h1/h2/h3) with appropriate sizing π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
5620ad0 to
b0ae8f9
Compare
|
Mergedβhuge thanks @glenn-jocher! π βDetails make perfection, and perfection is not a detail.β β Leonardo da Vinci Appreciate you pushing the UX forward for everyone building with Ultralytics. |
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Adds proper Markdown list and table rendering/styling to the Ultralytics Chat web widget for cleaner, more readable responses πβ¨
π Key Changes
ul,ol,li) with consistent spacing.renderMarkdown()parser:| ... |table rows|---|---|<table><thead>...</thead><tbody>...</tbody></table>wrapped in a horizontally scrollable container (.ult-table-wrap)all: revert(helps avoid broken styles from global CSS resets)js/chat.min.jsto include the same list/table parsing and styling changes.π― Purpose & Impact
all: reverthelps tables render correctly even when host pages apply aggressive CSS resets.|...|will be treated as a table row, so content using pipes for other formatting could render as a table.