Formula Display Functions

Back to Index

Overview

Currently, there are three display functions: text, link and image. Each is used to render a specific type of content in a Tap note. For example, suppose you want to display an image based on the result of a formula. We created a formula that draws a random tarot card to illustrate.

Reference

TEXT

(text x y z ...)

Concatenates all values as string of text.

Example:

$$()(text "hello" "world")

(link href title)

Creates a link to specified href with text as title parameter.

Example:

$$()(link "https://tatatap.com" "Tap")

Renders: Tap

IMAGE

(image src alt)

Creates an image with specified src with alt text as alt parameter.

Example:

$$()(image "http://placekitten.com/400/300" "kitten")

Renders:

kitten