# Mermaid user journey in Markdown to PDF

Each step carries a score and the people involved, across the sections of a journey.

Scored steps with actors across sections. The score sets the face and the row, for a hotel guest's stay from booking to checkout.

- PDF: https://legivel.com/examples/mermaid-diagrams/user-journey.pdf
- Page: https://legivel.com/examples/mermaid-diagrams/user-journey
- Open in the editor: https://legivel.com/markdown-to-pdf?sample=mermaid-journey
- More mermaid diagrams in Markdown to PDF: https://legivel.com/examples/mermaid-diagrams

## Markdown source

````markdown
# User journeys

```mermaid
journey
    title A guest's stay, from booking to checkout
    section Before arrival
      Find the hotel online: 4: Guest
      Book a room: 3: Guest
      Receive the confirmation: 5: Guest
      Pre-arrival message with directions: 4: Guest, Front desk
    section Arrival
      Find parking: 2: Guest
      Check in: 3: Guest, Front desk
      Find the room: 4: Guest
    section The stay
      Breakfast: 5: Guest, Kitchen
      Room cleaned: 4: Housekeeping
      Ask for a late checkout: 3: Guest, Front desk
    section Departure
      Check out: 4: Guest, Front desk
      Receive the invoice by email: 5: Guest
      Leave a review: 2: Guest
```

The low scores are the moments to fix first: parking on arrival and the review request after departure.
````
