SIGN IN SIGN UP

Convert existing '## Sample code' samples to '{@tool sample}...{@end-tool}' form. (#24077)

This converts existing ## Sample code samples to {@tool sample}...{@end-tool} form.

Also:
1. Fixed a minor bug in analyze-sample-code.dart
2. Made the snippet tool only insert descriptions if the description is non-empty.
3. Moved the Card diagram to before the code sample.
G
Greg Spencer committed
a6e901130e08c2b8000001af1a4c13165d32321a
Parent: 9d53d7f
Committed by GitHub <noreply@github.com> on 11/8/2018, 4:35:10 AM