PackageTrack

npm

@scalar/code-highlight

0.4.5scalar/scalar

Central methods and themes for code highlighting in Scalar projects

Release timeline

55 releases since 2024
20242026

One column per month.

Releases

  1. 0.4.520 Aug 2026
    Release notes

    Patch Changes

    • #9941: Republish every package through npm trusted publishing. No functional changes.
    Open source →
  2. 0.4.316 Jul 2026
    Release notes

    Patch Changes

    • #9719: docs: update the Scalar platform overview block in the README
    Open source →
  3. 0.4.215 Jul 2026
    Release notes

    Patch Changes

    • #9710: Republish so the updated README (with the Scalar platform overview) reaches npm. Also renames the README generator metadata in package.json from readme to scalarReadme: npm treats a readme field as the readme text itself, so affected packages were published with a literal [object Object] readme on the registry instead of README.md.
    Open source →
  4. 0.4.13 Jul 2026
    Release notes

    Patch Changes

    • #9659: fix: keep rendering Markdown when a code block fails to highlight

      Syntax highlighting is now best-effort: if a highlight.js grammar throws at runtime (for example a Unicode regex that a production minifier mangles), the code block falls back to plain text instead of the error taking down the whole Markdown section.

    Open source →
  5. 0.4.026 Jun 2026
    Release notes

    Minor Changes

    • #9590: Add syntax highlighting for the Mojo programming language
    Open source →
  6. 0.3.617 Jun 2026
    Release notes

    Patch Changes

    • #9508: Fix Python code samples appearing mostly unstyled by highlighting function and method call sites
    • #9506: Add Scalar scrollbar styling to highlighted Markdown code blocks.
    Open source →
  7. 0.3.59 Jun 2026
    Release notes

    Patch Changes

    • #9451: Bundle runtime dependencies into the build so CommonJS-only packages (like extend and debug) no longer leak to consumers and break Vite dev under pnpm
    Open source →
  8. 0.3.427 Apr 2026
    Release notes

    Patch Changes

    • #8964: fix markdown inside HTML text tags like <p> so inline formatting is rendered.
    Open source →
  9. 0.3.316 Apr 2026
    Release notes

    Patch Changes

    • #8735: fix: replace direct cjs mime and curl dependencies with local implementations
    Open source →
  10. 0.3.23 Apr 2026
    Release notes

    Patch Changes

    • #8664: refactor: replace wildcard export barrels with explicit named re-exports
    Open source →
  11. 0.3.118 Mar 2026
    Release notes

    Patch Changes

    • #8466: chore: new build pipeline
    Open source →
  12. 0.3.04 Mar 2026
    Release notes

    Minor Changes

    • #8322: chore: bump required node version to >=22 (LTS)
    Open source →
  13. 0.2.424 Feb 2026
    Release notes

    Patch Changes

    • #8248: feat: slugs for headings with nested content
    Open source →
  14. 0.2.311 Feb 2026
    Release notes

    Patch Changes

    • #8081: feat(components): improve ScalarCodeBlock copy UI
    Open source →
  15. 0.2.218 Dec 2025
    Release notes

    Patch Changes

    Open source →
  16. 0.2.14 Dec 2025
    Release notes

    Patch Changes

    Open source →
  17. 0.2.019 Sept 2025
    Release notes

    Minor Changes

    • 0aa6d26: feat: add ~45 new highlight.js languages + alias maps and new grouped exports (mediumLanguages, specializedLanguages, allLanguages)
    Open source →
  18. 0.1.929 Jul 2025
    Release notes

    Patch Changes

    • d4cb86b: fix: removes inline block display to keep caret in empty code input usage
    Open source →
  19. 0.1.816 Jul 2025
    Release notes

    Patch Changes

    • 85ee2ce: feat: updates markdown alert component style
    • 85ee2ce: feat: moves markdown style from code-highlight to components package
    Open source →
  20. 0.1.713 Jul 2025
    Release notes

    Patch Changes

    • 6ab3a21: feat: updates markdown details component style
    Open source →
  21. 0.1.610 Jul 2025
    Release notes

    Patch Changes

    • 903f975: feat: increases code line margin to enhance alignment
    Open source →
  22. 0.1.57 Jul 2025
    Release notes

    Patch Changes

    • 2d7f995: refactor: use more common straight apostrophe ' instead of the real apostrophe ’
    Open source →
  23. 0.1.413 Jun 2025
    Release notes

    Patch Changes

    • 7913193: feat: updates hljs curl language style
    Open source →
  24. 0.1.313 Jun 2025
    Release notes

    Patch Changes

    • 4156f1d: Expand workspace store integration
    • a37df33: fix: enhances introduction optical alignment
    Open source →
  25. 0.1.25 Jun 2025
    Release notes

    Patch Changes

    • 00fc827: feat: updates markdown overall style
    • 358eb63: fix(api-reference): fix markdown styles pt2
    Open source →
  26. 0.1.129 May 2025
    Release notes

    Patch Changes

    • 785939b: feat: adds id to markdown heading
    • cad6277: feat(themes)!: migrate to tailwind v4
    Open source →
  27. 0.1.022 May 2025
    Release notes

    Minor Changes

    • 483ca93: chore: require Node 20 (or above)
    Open source →
  28. 0.0.292 May 2025
    Release notes

    Patch Changes

    • 8c7bad8: chore: move build tooling to esbuild
    Open source →
  29. 0.0.281 May 2025
    Release notes

    Patch Changes

    • e8457cb: Unify themes across scalar. Cleanup interface and remove CJS build.
    Open source →
  30. 0.0.278 Apr 2025
    Release notes

    Patch Changes

    • 799845f: feat(components): allow ScalarCodeblock to support different font sizes
    Open source →
  31. 0.0.267 Apr 2025
    Release notes

    Patch Changes

    • 0e888bc: feat: add dart to standard languages
    Open source →
  32. 0.0.2514 Mar 2025
    Release notes

    Patch Changes

    • 632978d: fix(themes): hide summary caret in reset
    Open source →
  33. 0.0.2410 Mar 2025
    Release notes

    Patch Changes

    • 9319c0c: fix: allows alert plugin classes in markdown
    • 9319c0c: feat: updates markdown alert style
    Open source →
  34. 0.0.2328 Feb 2025
    Release notes

    Patch Changes

    • 3feee27: feat: adds markdown alert support
    • c10bbf5: chore: code style
    Open source →
  35. 0.0.2220 Feb 2025
    Release notes

    Patch Changes

    • e350f23: chore: code style
    Open source →
  36. 0.0.2118 Feb 2025
    Release notes

    Patch Changes

    • fa6afe8: chore: code formatting
    • 1223c1f: chore: code style
    Open source →
  37. 0.0.2020 Jan 2025
    Release notes

    Patch Changes

    • 109e320: fix: removes regex for highlight credentials
    Open source →
  38. 0.0.1917 Dec 2024
    Release notes

    Patch Changes

    • 6407b2b: feat(api-reference): extend font weights for links and sidebar items
    Open source →
  39. 0.0.184 Dec 2024
    Release notes

    Patch Changes

    • e199e9b: feat: updates chevron down icon
    Open source →
  40. 0.0.1722 Nov 2024
    Release notes

    Patch Changes

    • 9002259: style: font size fixtures
    Open source →
  41. 0.0.1621 Nov 2024
    Release notes

    Patch Changes

    • 1b06f64: fix(api-reference): conflicting styles with bulma, galaxy bug on docs
    Open source →
  42. 0.0.158 Nov 2024
    Release notes

    Patch Changes

    • a40999d: chore: added type safety rule noUncheckedIndexedAccess
    Open source →
  43. 0.0.1420 Oct 2024
    Release notes

    Patch Changes

    • b4a93ab: fix: tag typography and intro type
    Open source →
  44. 0.0.1314 Oct 2024
    Release notes

    Patch Changes

    • 0c34a18: chore: updated vue package to 3.5
    Open source →
  45. 0.0.1210 Oct 2024
    Release notes

    Patch Changes

    • e911047: Add default exports
    Open source →
  46. 0.0.112 Sept 2024
    Release notes

    Patch Changes

    • 18744d4: feat(code-highlight): don't force markdown paragraph color
    Open source →
  47. 0.0.1011 Aug 2024
    Release notes

    Patch Changes

    • c450bb3: fix: scalar api ref use scalar-border-width
    Open source →
  48. 0.0.99 Aug 2024
    Release notes

    Patch Changes

    • 58e5912: fix: markdown fixes and intro card polish
    Open source →
  49. 0.0.88 Aug 2024
    Release notes

    Patch Changes

    • b910fc1: feat: new Markdown helper methods splitContent and getHeadings
    Open source →
  50. 0.0.78 Jul 2024
    Release notes

    Patch Changes

    • c2362ee: fix: don't constrain markdown image height
    Open source →
  51. 0.0.65 Jul 2024
    Release notes

    Patch Changes

    • 9b035b0: chore: remove stale packages
    Open source →
  52. 0.0.527 Jun 2024
    Release notes

    Patch Changes

    • 94e68ab: chore: upgrade typescript to 5.5
    Open source →
  53. 0.0.419 Jun 2024
    Release notes

    Patch Changes

    • 5e92eab: feat(#doc-1996): themes css exports
    Open source →
  54. 0.0.314 Jun 2024
    Release notes

    Patch Changes

    • e0fc110: chore: patch bump all package
    Open source →
  55. 0.0.214 Jun 2024
    Release notes

    Patch Changes

    • 8494349: Migrate to highlightjs based syntax highlighting
    • 6fbb57e: feat: release all the packages
    Open source →