Skip to content

Commit

Permalink
Center state diagram image
Browse files Browse the repository at this point in the history
  • Loading branch information
hdoordt committed Dec 6, 2024
1 parent f7c5e13 commit 0bb4738
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/posts/2024-12-02-trash-in-treasure-out.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ We'll need a case to show how all this works, and since Mainmatter [loves the tr

Looking at different train ticket services, in general, the steps towards booking are pretty similar: first, you enter the location you want to depart from and where you want to go, then you enter either your preferred moment of departure or when you want to arrive. Next, you select one of several suggested trips and enter your personal information. With all the information complete, you're all set to book the ticket and pay. Here's what that looks like as a flowchart:

<div style="margin: 2em auto">

![State diagam](/assets/images/posts/2024-12-02-trash-in-treasure-out/state-diagram.svg)

</div>

Pretty straightforward, right? Let's code one up.

## Setting up
Expand Down

0 comments on commit 0bb4738

Please sign in to comment.