keybase / keybase/client

Feature request: syntax highlight in Markdown

Open
#8,849 9 comments 48 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

Allow adding a language to code blocks, same way Github does it

how it is now

```c++
int main(){}
```

simply becomes:

int main(){}

how it should be

```c++
int main(){}
````

should render to

int main(){}

Discord does this too and it's really nice.

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

The issue does not name files or tests. Start by locating the Markdown rendering path and its existing code-block handling, then compare the requested fenced-language behavior with the examples in the issue. Done means fenced blocks accept a language such as c++ and render with syntax highlighting without changing unlabeled blocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.