<commit_before># Introduction

This [Sketch](http://bohemiancoding.com/sketch) plugin provides a preview
command (⌘P) that will open a specially named slice in
[Skala Preview](http://bjango.com/mac/skalapreview).
The plugin works by exporting the first slice named `Preview` to Sketch's cache
directory and opening that file in Skala Preview.

If you prefer a clipboard-based approach, you may want to check out
[crop_Artboard](https://github.com/FredericJacobs/crop_Artboard).

# Installation

1. Copy the plugin file to either
`~/Library/Containers/com.bohemiancoding.sketch/Data/Library/Application\ Support/sketch/Plugins`
or `~/Library/Application\ Support/sketch/plugins` as described in the Sketch
[scripting guide](http://bohemiancoding.com/sketch/scripting).

2. Enable scripting in Sketch if needed
`Preferences -> General -> Enable Scripting`

3. Create a device screen-sized slice, and name it `Preview`

# Compatibility

This plugin was developed with the App Store version of Sketch 2.2.4 and Skala Preview 1.5.2.

# Author

[<NAME>](https://github.com/marcisme) ([@mschwieterman](https://twitter.com/mschwieterman) / [@mbs](https://app.net/mbs))

# License

MIT License<commit_msg>add curl snippet to readme<commit_after># Introduction

This [Sketch](http://bohemiancoding.com/sketch) plugin provides a preview
command (⌘P) that will open a specially named slice in
[Skala Preview](http://bjango.com/mac/skalapreview).
The plugin works by exporting the first slice named `Preview` to Sketch's cache
directory and opening that file in Skala Preview.

If you prefer a clipboard-based approach, you may want to check out
[crop_Artboard](https://github.com/FredericJacobs/crop_Artboard).

# Installation

1. Copy the plugin file to either
`~/Library/Containers/com.bohemiancoding.sketch/Data/Library/Application\ Support/sketch/Plugins`
or `~/Library/Application\ Support/sketch/plugins` as described in the Sketch
[scripting guide](http://bohemiancoding.com/sketch/scripting).

    If you're feeling brave, you can do something like this: `curl https://raw.github.com/marcisme/sketch-preview/master/Preview.jstalk -o ~/Library/Containers/com.bohemiancoding.sketch/Data/Library/Application\ Support/sketch/Plugins/Preview.jstalk`

2. Enable scripting in Sketch if needed
`Preferences -> General -> Enable Scripting`

3. Create a device screen-sized slice, and name it `Preview`

# Compatibility

This plugin was developed with the App Store version of Sketch 2.2.4 and Skala Preview 1.5.2.

# Author

[<NAME>](https://github.com/marcisme) ([@mschwieterman](https://twitter.com/mschwieterman) / [@mbs](https://app.net/mbs))

# License

MIT License
{'fraction_non_alphanumeric': 0.11178020323673316, 'fraction_numerical': 0.006774557771923222, 'mean_word_length': 4.893569844789357, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6141067', 'n_tokens_mistral': 859, 'n_tokens_neox': 825, 'n_words': 256}