Skip to content

Render code blocks with DocumenterCodeBlocks - #186

Merged
maleadt merged 1 commit into
mainfrom
tb/codeblocks
Oct 26, 2026
Merged

maleadt merged 1 commit into
mainfrom
tb/codeblocks

Conversation

@maleadt

@maleadt maleadt commented Oct 25, 2026

Copy link
Copy Markdown
Member

Adds the DocumenterCodeBlocks.jl plugin to the documentation build, as done in JuliaGPU/KernelAbstractions.jl#917. Julia code blocks are now highlighted at build time, get linkable line numbers, and link identifiers to their docstrings with hover tooltips.

The plugin relies on Documenter internals, so a future Documenter release may need a matching DocumenterCodeBlocks update.

The plugin highlights Julia code at build time, adds linkable line numbers,
and links identifiers in code blocks to their docstrings with hover tooltips.
The configuration matches the one in KernelAbstractions.jl.

[only docs]
@maleadt
maleadt merged commit 84a1e37 into main Oct 26, 2026
35 checks passed
@maleadt
maleadt deleted the tb/codeblocks branch October 26, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant