-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
Description
It would be awesome to have:
A command for running dart format across the text of the code samples. (That would modify the code inside the comments)
> dart run dartdoc_test format
Formatted 2 files (1 changed) in 0.10 seconds.
Changes:
/// This class is excellent
/// ```dart
/// void main() {
/// foo();
/// }
/// ```
class Foo {}
to
/// This class is excellent
/// ```dart
/// void main() {
/// foo();
/// }
/// ```
class Foo {}
And also having a test that validates that formatting is done.
And a separate
jonasfj and takumma