Skip to content

Discuss: Any changes to common subset for 2022 / v12? #3526

@joshgoebel

Description

@joshgoebel

Related: #2848

Time for yearly/release cycle of discussing any changes to the default common set of languages we bundle. v11 was released in May of last year and we do have things on the breaking changes list so I'm starting to think about a summer release of v12.

The list stands at:

│ lang         │ minified │
───────────────────────────
│ bash         │ 6202     │
│ c            │ 7923     │
│ cpp          │ 11438    │
│ csharp       │ 8322     │
│ css          │ 3802     │
│ diff         │ 1195     │
│ go           │ 2359     │
│ ini          │ 2335     │
│ java         │ 5090     │
│ javascript   │ 14719    │
│ json         │ 1171     │
│ kotlin       │ 6229     │
│ less         │ 6243     │
│ lua          │ 3054     │
│ makefile     │ 2073     │
│ markdown     │ 5022     │
│ objectivec   │ 4896     │
│ perl         │ 8825     │
│ php          │ 13898    │
│ php-template │ 1147     │
│ plaintext    │ 289      │
│ python       │ 9064     │
│ python-repl  │ 624      │
│ r            │ 7935     │
│ ruby         │ 9188     │
│ rust         │ 5396     │
│ scss         │ 4331     │
│ shell        │ 770      │
│ sql          │ 11736    │
│ swift        │ 12238    │
│ typescript   │ 2745     │
│ vbnet        │ 5265     │
│ xml          │ 5204     │
│ yaml         │ 4562     │

And the stats:

highlight.min.js    : 117742 bytes
highlight.min.js.gz : 39711 bytes

Rather than rehash what "almost" happened last time I'm just going to start this discussion fresh. We have since added two "hot" new web-related grammars that aren't currently in common that are worth consideration:

  • WASM
  • GraphQL

I'm not sure why we never added Node REPL last time but we probably should now for parity.

Opening this up for discussion.

CC @highlightjs/core

Metadata

Metadata

Assignees

No one assigned

    Labels

    discuss/proposeProposal for a new feature/directionenhancementAn enhancement or new featurehelp welcomeCould use help from community

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions