Example journal entries

Example hledger journal entries for various kinds of transaction.

A purchase:

2017/1/26 market
  expenses:food    $10
  assets:cash