Git Product home page Git Product logo

gmail-highlight's Introduction

gmail-highlight

Google Chrome extension to support code syntax highlighting inside Gmail

Uses https://highlightjs.org/ that supports 152 languages and 72 styles and also autodetects the language of the selected text to format

Develop

  1. Uninstall the production extension
  2. Clone this repository
  3. Open chrome://extensions/ in your Chrome browser
  4. Enable Developer mode in the top right
  5. Load unpacked extension by chosing the project directory
  6. Open Gmail and validate the extension was installed

gmail-highlight's People

Contributors

fara avatar markustauscher avatar

Stargazers

Mark Friedman avatar Nenad Dejanović avatar James Goldie avatar  avatar Omri Har-Shemesh avatar Poli García avatar

Watchers

 avatar James Cloos avatar Mark Friedman avatar

gmail-highlight's Issues

Language not auto-detected, or highlighting is broken...

I created a new gmail draft, then pasted the following, with no formatting:

public class CloneTest {
    @Test
    public void test() throws CloneNotSupportedException {

        Beta beta = new Beta(
            "name",
            Arrays.asList("a", "b", "c"),
            new String[] {"secret"},
            "bID",
            new SimpleEntry<>(6, "bert")
            );

        Beta beta01 = (Beta) beta.clone();

        Assert2.that()
            .eq(beta.aName, beta01.aName)
            .eq(beta.getaSecret(), beta01.getaSecret())
            .eq(beta.getbEntry(), beta01.getbEntry());
    }
}

When I clicked the "Syntax Highlight" format button, there was very little highlighting, and what was highlighted was inconsistent - see attached screenshot. It may have just not detected Java correctly? I'm not sure.

2017-03-17_07-37-03

Add an option to stop asking if I want to save a snippet

Please add an option to disable notifications asking if I want a snippet to be saved. I'm interested in the Gmail syntax highlighting, and I will never want it to store snippets as I have plenty of other places for that.

At the moment, the only options I have are to uninstall the addon or to stop all Chrome notifications and I don't want to stop all Chrome notifications, which leaves one other option. :-(

Maybe you can add a "Save snippet" option to the context menu?

Thanks.

gmail-highlight doesn't work any more

When I click on a Syntax Highlight button nothing happens. It was working before.

  • Google Chrome Version 61.0.3163.100 (Official Build) (64-bit)
  • macOS Sierra Version 10.12.6 (16G29)

Button not added correct

Hi,

I installed this plugin but it will not add te buttons correct to the Compose window. only the first time i open the compose window the button displays after that it does not show the button

Add support for inline code syntax highlighting

Something like this:

If you call myAwesomeMethod() something cool will happen.

Currently if you select only myAwesomeMethod() text the original line breaks into four lines like this:

If you call

myAwesomeMethod()

 
something cool will happen.

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.