Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[book] Avoid scrollbars in code examples#2749
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
book/doctrine.rst Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
for me, I think the example would be more readable if further lines are indented like this:
$ php app/console doctrine:generate:entity \ --entity="AcmeStoreBundle:Product" \ --fields="name:string(255) price:float description:text"[book] Avoid scrollbars in code examples
This is technically correct, and prevents the scrollbar online, but I don't want to confuse any users with these
Hey Wouter! Very nice! You're absolutely correct with your use of Thanks! |
There is one thing I'm not sure about and that thing are the wrapped commands:
I don't know if it is commonly known that the
\character can be used for multiline commands