Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KevinGutowski/Truncat
A Sketch plugin to truncate text.
https://github.com/KevinGutowski/Truncat
sketch sketch-plugin truncate-text
Last synced: 2 months ago
JSON representation
A Sketch plugin to truncate text.
- Host: GitHub
- URL: https://github.com/KevinGutowski/Truncat
- Owner: KevinGutowski
- Created: 2019-07-19T06:35:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T04:48:51.000Z (about 2 years ago)
- Last Synced: 2024-08-01T21:55:43.894Z (5 months ago)
- Topics: sketch, sketch-plugin, truncate-text
- Language: JavaScript
- Homepage:
- Size: 16 MB
- Stars: 57
- Watchers: 2
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - KevinGutowski/Truncat - A Sketch plugin to truncate text. (JavaScript)
README
# Truncat π...
![Example of Truncat in Sketch](https://github.com/KevinGutowski/Truncat/blob/master/sketch-assets/truncatgif.gif?raw=true)
### Usage
![Truncate Head Option](https://github.com/KevinGutowski/Truncat/blob/master/sketch-assets/Example%201.png?raw=true)![Truncate Belly](https://github.com/KevinGutowski/Truncat/blob/master/sketch-assets/Example%202.png?raw=true)
![Truncate Tail](https://github.com/KevinGutowski/Truncat/blob/master/sketch-assets/Example%203.png?raw=true)
#### Keyboard shortcuts
| Action | Shortcut |
| ----------- | ----------- |
| Truncate Head | `control` + `,` |
| Truncate Belly | `control` + `.` |
| Truncate Tail | `control` + `/` |
| β¨ Clean Cat (Reset) | `control` + `delete` |### Works with Libraries
![Using Truncat with Overrides](https://github.com/KevinGutowski/Truncat/blob/master/sketch-assets/libraries.gif?raw=true)
> OMG @kevgski's Truncatπ Plugin for @sketch can be applied to ~Layer~ Text Styles and shared with Libraries. No plugin needed for the rest of your team!!
>
> Anthony Collurafici @CheckYourVector, https://twitter.com/CheckYourVector/status/1153403639622504454Because Iβm using MacOS's native paragraph style properties to control truncation you don't need this plugin installed to render the truncation. You just need one of your team members to set things up with your Symbols & Text Styles and everyone gets the benifit!
## Installation
- [Download](../../releases/latest/download/truncat.sketchplugin.zip) the latest release of the plugin
- Un-zip
- Double-click on truncat.sketchplugin## Development Guide
_This plugin was created using `skpm`. For a detailed explanation on how things work, checkout the [skpm Readme](https://github.com/skpm/skpm/blob/master/README.md)._