Giter VIP home page Giter VIP logo

onehighlighter's Introduction

OneHighlighter


Copy a code snippet, open OneHighlighter and paste syntax highlighted code in apps like OneNote or Pages.

OneHighlighter is a simple application that lives in your menu bar.

Supported languages

OneHighlighter supports code highlighting for the following languages:

  • Accesslog
  • Apache
  • Bash
  • CoffeeScript
  • CSS
  • C++
  • C#
  • Dart
  • Diff
  • Gradle
  • Haskell
  • HTTP
  • INI
  • Java
  • JavaScript
  • JSON
  • Makefile
  • Markdown
  • Nginx
  • Perl
  • PHP
  • PowerShell
  • Python
  • Ruby
  • Sass
  • SQL
  • Swift
  • TypeScript
  • HTML
  • XML
  • YAML

Download

OneHighlighter is available for free on the Mac App Store.

License

MIT License, see LICENSE.md.

Contributing & issue's

Feel free to improve this project by forking it, submitting pull requests or opening issue's.

onehighlighter's People

Contributors

savjee avatar pzach001 avatar haroenv avatar

Stargazers

Robin Chou avatar Nolan Chan avatar Monica Rondón avatar Johannes Jakob avatar Tim Scalzo avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

onehighlighter's Issues

Carriage returns appear to be ignored

Hi @Savjee! I am loving this app, but I have found that if I copy from Vim on my Mac or from a Linux VM and then paste into OneNote, it will very often ignore blank lines which causes me to go insert them manually. Sometimes (but not always) the blank line appears to be replaced with a leading space at the beginning of the next line.

Have you experienced this or am I doing something wrong?

Ability to configure font and font size

Hi @Savjee, I love using this app. Kudos to you and other contributors.

Currently it seems the output is in font "Courier new", font size "11".
It would be great if we have a setting to configure the font and font-size.

Thanks.
Linh

Golang support

Hi! Golang support would be really nice.

Happy to submit a PR if you like, is it as simple as updating the minified highlight.js and adding an entry to the index.html?

How do I generate highlight.pack.js?

I'd like to contribute to this repo by adding support for additional languages. However, I'm not sure how to generate the highlight.pack.js file.

I've downloaded highlight.js from https://highlightjs.org/download/ but I don't know how to take the files that come in the highlight.zip archive and turn them into the highlight.pack.js file.

Could you describe how you build that file?

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.