Coder Social home page Coder Social logo

syde770 / highlight Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taggon/highlight

0.0 0.0 0.0 623 KB

Rich featured syntax highlighter for Keynote slides.

License: MIT License

Swift 80.24% JavaScript 7.73% C++ 3.76% CSS 3.11% HTML 1.84% Java 2.38% PHP 0.66% Ruby 0.28%

highlight's Introduction

[English] [한국어]

Highlight

Highlight is a rich-featured syntax highlighter for Keynote slides that allows you to get syntax-highlighted code in RTF with one click. Its main feature is based on highlight.js, which means 185 langauges and 89 styles are available. Check out the demo to see what you get with the application.

Features

From highlight.js:

  • 185 languages and 89 styles
  • Automatic language detection
  • Multi-language code highlighting

Original features:

  • Line numbers
  • Custom font
  • Global hotkey - you don't even need to click.
  • Automatic updates
  • Supports multi-language UI
    • English
    • Korean
    • Turkish - Thanks to @tosbaha
    • Chinese Simplified - Thanks to @xnth97

Want to add support for your language? Send me translations! :)

Installation

  • Download the latest version here.
  • Unarchive it and then run the application.
  • You may be asked to move it into Applications folder. I strongly recommend accepting it.

Usage

  • When you execute the application, you will see a highlighter icon on the menubar as shown in the screenshot.
  • Copy any code you want to colorize.
  • Click on the icon to open the popup menu. Select Highlight Code and then pick your programming language or just choose the auto-detect one. Now the code is syntax-highligted.
  • Paste the code wherever you want (e.g. Keynote).

Do you like to customize the results? Just open the Preferences dialog. You will see how.

How to build

Once you install CocoaPods on your system, run the following command in the project root directory. You may need to setup NodeJS.

$ pods update && pods install
$ npm i

Open the workspace by double-clicking Highlight.xcworkspace then build it. It should just work.

Contribution

Highlight supports multi-language UI, currently only for few languages including English and Korean. If you're interested in translating the application, start by copying the Korean translation folder into your respective language folder (e.g. pr.lproj for Portuguese, ru.lproj for Russian, etc).

You need to translate all files in the folder. Because the MoveApplication.strings comes from LetsMove project, you can copy the same file from the project if exists.

highlight's People

Contributors

taggon avatar tosbaha avatar xnth97 avatar

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.