docs(S2): Improve markdown output for Style Macro reference page#9535
docs(S2): Improve markdown output for Style Macro reference page#9535reidbarber merged 5 commits intomainfrom
Conversation
|
Build successful! 🎉 |
|
Looks like some MDN links are still included? https://d5iwopk28bdhl.cloudfront.net/pr/26d62537ff128ff54d32d37bfdf35b3a6b28e904/Button.md or what should i be looking at? |
|
@snowystinger This PR just affects the style macro page: https://d1pzu54gtk2aed.cloudfront.net/pr/26d62537ff128ff54d32d37bfdf35b3a6b28e904/style-macro.md |
LFDanLu
left a comment
There was a problem hiding this comment.
I assume the reduction in token count by excluding the MDN links helps reduce the load on the agents in terms of how much they'd have to parse for agent skills? I assume the agents will be able to infer the definitions of those properties still?
|
@LFDanLu Yeah, mostly not to bloat the context window unnecessarily. Since they are all standard CSS values, their purpose should be well-understood by the model already. |
|
Build successful! 🎉 |
LFDanLu
left a comment
There was a problem hiding this comment.
Happy for this to go in as is or if you want to wait till we get the agent skills stuff hashed out
Related #9515
Improves the markdown output for the Style Macro reference page by rendering tables with properties/values.
I decided not to include the MDN links, which reduced the token count from 17.4k -> 9.2k.
✅ Pull Request Checklist:
📝 Test Instructions:
Compare Before vs. After (this is the only affected page).
🧢 Your Project: