Skip to content

Commit

Permalink
Surround diagrams with code fences
Browse files Browse the repository at this point in the history
Markdown processors omit extra white space by default, so we need to put
diagrams inside code fences
  • Loading branch information
okmanideep committed Mar 13, 2023
1 parent c2df062 commit 7424a1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.2
#### Fixes
* Diagram formatting in `viewmodel` documentation

## 0.1.1
#### πŸ’« New
* `example` published to pub.dev
Expand Down
3 changes: 3 additions & 0 deletions lib/viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import 'package:flutter/widgets.dart';
/// `ViewModel`s allow for UI Widgets to be as simple as possible
/// UI only talks and listens to the `ViewModel`, the rest of
/// the application code is abstracted away.
///
/// ```
/// β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
/// β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Ίβ”‚ Network β”‚
/// β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Expand All @@ -24,6 +26,7 @@ import 'package:flutter/widgets.dart';
/// β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
/// └───────────►│ MemCache β”‚
/// β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
/// ```
/// One can choose to have more abstractions between the `ViewModel`
/// and network, database and memcache like `Repository`, `Service`
/// to simplify the logic inside a `ViewModel` or to hold some state
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: jetpack
description: A set of abstractions, utilities inspired from android Jetpack to help manage state in flutter applications.
version: 0.1.1
version: 0.1.2
homepage: https://github.com/praja/jetpack

environment:
Expand Down

0 comments on commit 7424a1b

Please sign in to comment.