Update ref-05-events.md

use backticks and change example into its own sentence