highlight

Rich featured syntax highlighter for Keynote slides.

Github星跟踪图

[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.

主要指标

概览
名称与所有者taggon/highlight
主编程语言Swift
编程语言Swift (语言数: 7)
平台
许可证MIT License
所有者活动
创建于2017-01-07 14:01:15
推送于2023-07-11 00:56:15
最后一次提交2021-07-04 17:18:52
发布数6
最新版本名称v1.4.4 (发布于 2018-10-19 17:27:39)
第一版名称v1.0.0 (发布于 )
用户参与
星数380
关注者数10
派生数12
提交数63
已启用问题?
问题数9
打开的问题数2
拉请求数4
打开的拉请求数4
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?