Skip to content

Changing code block from diff to javascript #16058

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

Closed
wants to merge 1 commit into from

Conversation

ThomasLandauer
Copy link
Contributor

Reason: The + characters make it hard to copy-paste (and harder to read, since no syntax highlighting).

Furthermore, I'm suggesting to remove jQuery from here. This is the first JavaScript example in this chapter, and it should be as basic as possible.

Reason: The `+` characters make it hard to copy-paste (and harder to read, since no syntax highlighting).

Furthermore, I'm suggesting to remove jQuery from here. This is the first JavaScript example in this chapter, and it should be as basic as possible.
@carsonbot carsonbot added this to the 4.4 milestone Nov 2, 2021
@javiereguiluz
Copy link
Member

Thanks, but we prefer to keep this as a diff example because it's one of the first examples and it's important to guide users.

We're also trying to improve the copy+paste of diff code blocks: symfony-tools/docs-builder#132

Thanks.

@ThomasLandauer ThomasLandauer deleted the patch-30 branch November 23, 2021 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants