highlight.js vs Sublime Text

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

highlight.js

447
31
+ 1
0
Sublime Text

33.8K
27.6K
+ 1
4K
Add tool

highlight.js vs Sublime Text: What are the differences?

Developers describe highlight.js as "Syntax highlighter in JavaScript". It works in the browser as well as on the server. It works with pretty much any markup, doesn’t depend on any framework, and has automatic language detection. On the other hand, Sublime Text is detailed as "A sophisticated text editor for code, markup and prose". Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform..

highlight.js and Sublime Text belong to "Text Editor" category of the tech stack.

Some of the features offered by highlight.js are:

  • Import Highlight.js as a CommonJS-module
  • The default import imports all languages
  • Custom Initialization

On the other hand, Sublime Text provides the following key features:

  • Goto Anything
  • Multiple Selections
  • Command Palette
Decisions about highlight.js and Sublime Text
Kamaleshwar BN
Senior Software Engineer at Pulley · | 12 upvotes · 1.3M views

Visual Studio Code became famous over the past 3+ years I believe. The clean UI, easy to use UX and the plethora of integrations made it a very easy decision for us. Our gripe with Sublime was probably only the UX side. VSCode has not failed us till now, and still is able to support our development env without any significant effort.

Goland being paid, as well as built only for Go seemed like a significant limitation to not consider it.

See more
Andrey Ginger
Managing Partner at WhiteLabelDevelopers · | 3 upvotes · 522.9K views

Since communication with Github is not necessary, the Atom is less convenient in working with text and code. Sublim's support and understanding of projects is best for us. Notepad for us is a completely outdated solution with an unacceptable interface. We use a good theme for Sublim ayu-dark

See more
Simon Ibssa
Student at California Polytechnic State University, San Luis Obispo · | 2 upvotes · 1.3M views

I decided to choose VSCode over Sublime text for my Systems Programming class in C. What I love about VSCode is its awesome ability to add extensions. Intellisense is a beautiful debugger, and Remote SSH allows me to login and make real-time changes in VSCode to files on my university server. This is an awesome alternative to going back and forth on pushing/pulling code and logging into servers in the terminal. Great choice for anyone interested in C programming!

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of highlight.js
Pros of Sublime Text
    Be the first to leave a pro
    • 720
      Lightweight
    • 652
      Plugins
    • 641
      Super fast
    • 468
      Great code editor
    • 442
      Cross platform
    • 280
      Nice UI
    • 260
      Unlimited trial
    • 153
      Cmd + d is the best command ever
    • 92
      Great community
    • 46
      Package control, modules
    • 26
      Mac OS X support
    • 23
      Easy to get started with
    • 22
      Monokai
    • 21
      Everything you need without the bloat
    • 21
      Built in Python
    • 18
      Easy
    • 14
      Speed
    • 12
      Session & edit resuming
    • 10
      Package Control
    • 9
      Well Designed
    • 8
      Multiple selections
    • 7
      ALT + CMD + DOWN is the best command ever
    • 7
      Nice
    • 7
      Fast, simple and lightweight
    • 5
      It's easy to use, beautiful, simple, and plugins rule
    • 5
      So futuristic and convenient
    • 5
      ALT + F3 the best command ever
    • 5
      Great
    • 4
      Find anything fast within entire project
    • 4
      Easy to use
    • 4
      Free
    • 4
      Simple and clean design
    • 3
      Hackable
    • 3
      Pretty
    • 3
      UI + plugins
    • 3
      Sublime Merge (Git Integration)
    • 2
      Totally customizable
    • 2
      Color schemes and cmd+d
    • 2
      Material theme best theme forever
    • 0
      Const

    Sign up to add or upvote prosMake informed product decisions

    Cons of highlight.js
    Cons of Sublime Text
      Be the first to leave a con
      • 8
        Steep learning curve
      • 7
        Everything
      • 4
        Flexibility to move file
      • 4
        Number of plugins doing the same thing
      • 4
        Doesn't act like a Mac app
      • 3
        Not open sourced
      • 2
        Don't have flutter integration
      • 2
        Forces you to buy license

      Sign up to add or upvote consMake informed product decisions

      13
      40
      7.5K
      18.9K
      47
      - No public GitHub repository available -

      What is highlight.js?

      It works in the browser as well as on the server. It works with pretty much any markup, doesn’t depend on any framework, and has automatic language detection.

      What is Sublime Text?

      Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses. Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use highlight.js?
      What companies use Sublime Text?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with highlight.js?
      What tools integrate with Sublime Text?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to highlight.js and Sublime Text?
      Prism
      It is a lightweight, beautiful and extensible syntax highlighter, built with modern web standards in mind. It’s used in thousands of websites, including some of those you visit daily.
      Prettier
      Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
      Git
      Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
      GitHub
      GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
      Visual Studio Code
      Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
      See all alternatives