diff --git a/demos/src/components/App.kasper b/demos/src/components/App.kasper
index 5a858d7..ea1cda8 100644
--- a/demos/src/components/App.kasper
+++ b/demos/src/components/App.kasper
@@ -19,6 +19,7 @@
Explore these examples of Kasper.js features and components.
+ {{ employees.value |> filterList(query.value) |> countOf }} of {{ employees.value.length }} employees + — sorted by {{ sortField.value }} +
+{{ price.value |> formatCurrency }}
+{{ items.value |> pluralize('item') }}
+ + + +``` + +## Using imported functions + +All imports in the ` +``` + +```ts +// utils/format.ts +export const capitalize = (s: string) => s.charAt(0).toUpperCase() + s.slice(1); +export const sortBy = (arr: any[], key: string) => [...arr].sort((a, b) => a[key].localeCompare(b[key])); +``` + +## Chaining + +Pipes chain left-to-right — each result feeds into the next: + +```html + +{{ label.value |> trim |> capitalize }}
+``` + +```html + +{{ tasks.value |> filterActive |> count }} active +``` + +## With @each + +Pipes are especially useful on the iterable in `@each`: + +```html + +{{ items.value |> (arr => arr.filter(x => x.done).length) }} completed
+```