Installation
- Download
latest .zip file or via releases page. - Unzip and double click to install it.
Introduction
When updating your shared design, it is hard to keep track of versions. Then it is handy to show a version indicator. This plugin will update this indicator automatically on every save.
For the version indicator, you can use date/time, use a generated image or use an increment.
Installation
- Open the .sketchplugin-file
- Sketch will open and tell you the plugin is installed
Getting started
- Open a sketch file, or create a new one
- Insert an artboard
- Insert a text layer inside this artboard
- Name it
[lastupdated]
(or one of the other supported strings) - Select a different element on the artboard
- The text layer will update its value
Usage
The plugin will update text or images in placeholder layers. So you can design your own version indicator.
Placeholders which the plugin monitors (on January, 31st 2020 at 3:31:59 PM):
[lastupdated]
: 31-1-2020 15:31[lastupdatedUS]
: 1/31/2020 15:31[lastupdated-full-date]
: 31-1-2020[lastupdated-full-dateUS]
: 1/31/2020[lastupdated-time]
: 15:31[lastupdated-year]
: 2020[lastupdated-month]
: 1[lastupdated-day]
: 4[lastupdated-day-str]
: thu[lastupdated-hour]
: 15[lastupdated-minute]
: 31[lastupdated-second]
: 59[lastupdated-image]
: Blockies image,[lastupdated-increment]
: 1[lastupdated-size-bytes]
: 237234[lastupdated-is-autosaved]
: 0
The placeholders are updated on elements or symbol overrides inside an artboard. Note: [lastupdated-image]
can only be used on shapes (like a rectangle) on the artboard, or on images within a symbol.