Giter VIP home page Giter VIP logo

sketch-lorem-ipsum-2017's Introduction

Lorem Ipsum Generator for Sketch

A plugin for Sketch to insert Lorem Ipsum into any selected text fields. Originally by @richgong, I forked this to add more Lorem.

Currently features unique 10 paragraphs of Lorem Ipsum.

GIF of plugin being used in Sketch

Installation

  1. Download or clone this repository
  2. Double click the .sketchplugin file to open Sketch and install the plugin

How to use

  1. Select text fields
  2. Use the keyboard shortcut: Shift + Ctrl + L

You can also use the plugin from the menu (Plugins > Lorem Ipsum Generator > Fill out text fields)

Todo

  • Limit the amount of Lorem inserted by the text field size. Plugin currently shoves an entire paragraph into each text field, no matter the length, requiring users to manually delete text each time. Solution: Calculate length of text container + size of glyphs (see script from Sketch-Highlighter - search for textLayer.frame().size().width, and layoutManager.numberOfGlyphs();)
  • An actual Lipsum generator algorithm (without connecting to lipsum.com)

sketch-lorem-ipsum-2017's People

Contributors

richgong avatar whoisryosuke avatar

Stargazers

Joel Javillo  avatar Sebastian Rothe avatar  avatar Kurt Roberts avatar Michael avatar Adam Ayers avatar semi avatar Jim Raptis avatar dcruvolo avatar Max Zhurkin avatar  avatar

Forkers

sngazm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.