PrismJS / PrismJS/prism

Support "c++" language code for C++

Open
#3,786 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

I use c++ for denoting C++ in code blocks found throughout my project's commit messages, which I then use to generate release notes on our website. My IDE and GitHub support using c++ for a language code in code blocks, but prism only supports cpp. For compatibility it'd be nice if prism allowed c++ as well.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting Prism's C++ language definition and how language aliases are registered. Verify that code blocks using c++ receive the same highlighting as blocks using cpp; the issue provides no specific file or test to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.