A Dashing widget for displaying random quotes from a YAML file.
See a live demo here.
Install the following gems:
mechanize
Expects a quotes.yml
YAML file in root directory of your Dashing project.
Its format should be:
---
-
1:
author: "Author name 1"
quotes:
- "Single line quote"
- |-
Multi-line
Quotes
title: "Some title"
-
1:
author: "Author name 2"
quotes:
- "Single line quote"
- |-
Multi-line
Quotes
title: "Some title 2"