Release 5.4.0
New features
- Added
markupEmmetCompletion()source supporting JSX, TSX, HTML, Vue, Svelte, Astro, and XML (73acfb3) - Added
fromproperty to completion items (d6d72d5) - Made commit characters for
jsCompletion()customizable (28fc50e) - Added
editorHoverDescriptions()extension andaddPointerListener()utility toprism-code-editor/hover(cd9dd82) - Added
getTokenOffset()andgetTokenLanguage()utilities (b1f3d51) - The
codeBlockis now passed to the callback ofaddHoverDescriptions()(856bc9d) - Added configurable opening delay to hover tooltips (d4e783d)
- Made the labels for the copy button customizable (a098c21)
- Added an
addAlias()utility toprism-code-editor/prism/utils(eb36fb9) - Added an llms.txt file to the documentation (0d705fa)
Fixes and improvements
- Made
white-space: break-spacesthe default withwordWrapenabled (#64) (5c52787) - Fixed closing tags for void tags like
<img>being inserted automatically if typed with some capitalized characters (e5d2ab7) - Fixed autocompletion tooltip not closing if the selection remained the same after inserting an option (8023558)