Skip to content

v0.2.2

Choose a tag to compare

@ang-zeyu ang-zeyu released this 09 Aug 07:13
· 275 commits to main since this release
  • Make the results list more spacious in general
  • Minor colour tweaks for the default themes
  • Add maxSubMatches=2 UI option to tweak the maximum number of shown heading-body pairs per document
  • Add a css variable for border-bottom beneath the title, and separate highlight colours for highlights in headings
  • Change the tip list design into a table format
  • Order tip icon first for keyboard tabbing
  • Capture esc key events inside dropdown container (not including the input itself which is already handled) and hide the dropdown
  • Remove placeholder centering for the fullscreen UI's trigger input. This is a more intrusive, unnecessary aspect for keyboard accessibility.
  • Support calling the initialisation function initMorsels multiple times. This allows create multiple <inputs> on the same page searching the same or different indexes.
  • Mdbook plugin: polish/fix the styles a lot more to suit each theme uniquely
  • Mdbook plugin: add an outline to result items on keyboard focus (for mdbook themes only)
  • Reduce dictionary memory usage by ~30-40%. More so relevant only for extreme collections (e.g. the demo site with > 1000,000 dictionary terms).
  • Prefer <h1> tags to <title> tags if present when indexing HTML