Skip to content

Releases: ewels/starlight-codeblocks

v1.2.0

Choose a tag to compare

@ewels ewels released this 15 Oct 15:51
0f45cc9
  • Squiggles: wavy error, warning and info lines under code, with a message on hover, focus or tap (#16)
  • Callouts, code links: a /text/ match prefers a whole word (#16)

v1.1.0

Choose a tag to compare

@ewels ewels released this 07 Oct 00:08
97c7a7b
  • Astro: starlight-codeblocks/astro adds every feature to Astro sites without Starlight (#14)
  • Docs: an example Astro site, and separate install pages for Starlight and Astro (#14)
  • Integration: a change to the options clears cached Markdown pages (#13)

v1.0.1

Choose a tag to compare

@ewels ewels released this 05 Oct 12:35
2096ead
  • Swatches: match and delimiters options (#6)
  • File icons: false turns icons off (#8)
  • Callouts: bubble text is selectable (#11)
  • Notation: warn on directives outside comments (#5)
  • Annotations: notes open beside more markers (#12)
  • Footnotes: text exports drop the numbers (#3)

v1.0.0

Choose a tag to compare

@ewels ewels released this 05 Oct 08:57
25f6268

The first release. It adds these features to Starlight code blocks, on top of Expressive Code:

  • Comment notation
  • Focus
  • Line states
  • Inline callouts
  • Annotations
  • Footnotes
  • Side annotations
  • Hidden lines
  • Smart shell copy
  • Word-level diff
  • Visible whitespace
  • Colourised brackets
  • Colour swatches
  • File icons
  • Code links
  • API auto-linking, with adapters for Python and Nextflow
  • Expandable blocks
  • Open in playground
  • Code mentions
  • Line permalinks
  • Fill-in placeholders
  • Code tabs
  • Code walkthrough
  • Scrollycoding
  • Inline code highlighting
  • Run code, with runtimes for Python (Pyodide, with packages from PyPI), JavaScript and TypeScript, and scripted output for code that cannot run in the browser