moja-global / moja-global/Handbook

No copy button for code and code highlighting

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Issue :
  • The Handbook doesn't have the copy button to copy and paste the code to your machine directly.
  • The python code is not highlighted as the shortname used for the lexer is incorrect and thus the code is undetected.
  • Wrong shortname for yaml files code highlighting.
Desired Behaviour:
  • To have a copy button extension to directly copy and paste the code
  • Syntax highlighting for python code
  • Syntax highlighting for yaml code

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 the Handbook's code blocks and the configuration responsible for rendering them. Verify how the copy control is provided and how Python and YAML lexer names are selected; done means code blocks offer copying and both languages render with syntax highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, yaml
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.