Skip to content

Conversation

xieyuschen
Copy link
Contributor

This change adjusts the code example in readme so if you view it in github it won't show a horizontal scroll bar in code example.

It's trivial change, but I believe it's still an improvement.

@xieyuschen
Copy link
Contributor Author

specifically talks about this. It may differ in different devices but in my own device it always shows the scroll bar.

image

Copy link
Contributor

@jba jba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's reasonable. The line is over 100 characters long.

Copy link
Contributor

@jba jba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...except you have to modify internal/readme/server/server.go and run go generate.

This change adjusts the code example in readme so if you view it in
github it won't show a horizontal scroll bar in code example.

It's trivial change, but I believe it's still an improvement.
@jba jba merged commit ef2fc60 into modelcontextprotocol:main Sep 22, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants