rust-lang / rust-lang/mdBook

Support highlight Zig

Open
#2,268 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-Highlighting C-enhancement
Dominant language
Rust
Stars
22.2k
Forks
1.9k
PR merge metrics
PR metrics pending

Description

Problem

Currently mdbook can't highlight Zig according to https://rust-lang.github.io/mdBook/format/theme/syntax-highlighting.html

Proposed Solution

Support Zig highlight

Notes

No response

Contributor guide

Open the contributing guide

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

Review the syntax-highlighting support described in the mdBook format documentation and locate the relevant implementation in this repository. Done means mdBook recognizes Zig code blocks and applies Zig highlighting as documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, zig
Domain
documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.