Skip to content

RDoc-3984 Rendering of expressions like != in the documentation#2558

Merged
ppekrol merged 1 commit into
ravendb:mainfrom
poissoncorp:RDoc-3984-code-expression-ligatures-rendering
Jul 14, 2026
Merged

RDoc-3984 Rendering of expressions like != in the documentation#2558
ppekrol merged 1 commit into
ravendb:mainfrom
poissoncorp:RDoc-3984-code-expression-ligatures-rendering

Conversation

@poissoncorp

@poissoncorp poissoncorp commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Issue link

https://issues.hibernatingrhinos.com/issue/RDoc-3984/Rendering-of-expressions-like-in-the-documentation

Additional description

The monospace code font (JetBrains Mono) applied coding ligatures, so operator sequences in code and query examples rendered as single glyphs (for example "!=" as "≠" and "<=" as "≤"), hiding the exact characters readers must type in RQL/SQL queries.

Disable ligatures on code elements in src/css/custom.css using font-variant-ligatures and font-feature-settings so operators render exactly as written. The properties inherit, so Prism token spans are covered too; body text (Inter) is unaffected.

Type of change

  • Content - docs
  • Content - cloud
  • Content - guides
  • Content - start pages/other
  • New docs feature (consider updating /templates or readme)
  • Bug fix
  • Optimization
  • Other

Changes in docs URLs

  • No changes in docs URLs
  • Articles are restructured, URLs will change, mapping is required (update /scripts/redirects.json file, set Documents Moved PR label)

Changes in UX/UI

  • No changes in UX/UI
  • Changes in UX/UI (include screenshots and description)

@poissoncorp poissoncorp marked this pull request as ready for review July 14, 2026 10:30
@poissoncorp poissoncorp force-pushed the RDoc-3984-code-expression-ligatures-rendering branch from beab93f to b609305 Compare July 14, 2026 10:50
The monospace code font (JetBrains Mono) applied coding ligatures, so
operator sequences in code and query examples rendered as single glyphs
(for example "!=" as "≠" and "<=" as "≤"), hiding the exact characters
readers must type in RQL/SQL queries.

Disable ligatures on code elements in src/css/custom.css using
font-variant-ligatures and font-feature-settings so operators render
exactly as written. The properties inherit, so Prism token spans are
covered too; body text (Inter) is unaffected.
@ppekrol ppekrol merged commit 2f303a4 into ravendb:main Jul 14, 2026
1 check passed
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.

3 participants