Improve rendering of code blocks / code listings

Open
#211 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

No files or tests are identified in the issue; start by locating the website's code-block styling and rendering entry points. Compare the current presentation with GitHub-style listings, then verify that code is more readable and that language tags provide syntax highlighting.

Written by the indexing model from the issue text.

Description

enhancement Good First Issue

We are a technical project, and we'll probably show source code and code listings on our website every now and then.
Thus, it would be great if such code listings would fit into the overall theme and look better.

Right now, code blocks are hard to read due to a small font size.

image

I think a layout similar to how this is rendered here on Github would be a good improvement. Ideally, we'd also support language tags to get code highlighting.

Dominant language
JavaScript
Stars
7
Forks
17
PR merge metrics
No merged PRs in 30d

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.

More from MovingBlocks/movingblocks.github.com

All issues in MovingBlocks/movingblocks.github.com

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.