Skip to content

Releases: hilverd/glossary-page-template

v2.1.0

11 Mar 10:35
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-lXb/80prZOVBoA0hI0K9w14B1HycFyu25PszcwJYbDhz4mXzlF1rcu3xKcKuBoml
  • glossary.min.css: sha384-v+qxm6bEiBbjJxjWjZD0eI2yHBL3+XpsMtd2Pm1UghPQTOmPLDrPhYIo0J++TMR8

Added

  • Close menu for mobile when escape key is pressed.
  • Respect prefers-reduced-motion for mobile menu.
  • Respect prefers-contrast: more on index page.

Changed

  • The term index now lists all terms that do not contain an alphabetic character (with or without diacritics) under .
  • Separate multiple definitions by a dotted line.

Fixed

  • Fix bug in logic for writing back to HTML file. Dollar signs need to be escaped.

v2.0.0

20 Feb 11:58
Compare
Choose a tag to compare

The main change in this release is that it introduces support for a Markdown-based syntax. Using that syntax, term definitions can now contain multiple paragraphs, bold/italic text, ordered/unordered lists, hyperlinks, images, code fragments, and more.

How to upgrade from v1 and switch to Markdown

  1. Point the static assets to a version starting with @2.
  2. When making changes, open Settings at the top of the page and switch the input syntax to Markdown.
  3. Inspect all term definitions and correct the formatting where needed.

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-7nikk9RCnQwa++tJpc4NU4wVJtG10nfLDgS8prjf5nR0I7AdaFGz+IBMzYgzSt3G
  • glossary.min.css: sha384-H/1aWzjvhZ3zJh2yPxKyN203P2fbFolaMPEu5kKQ2R25LQenWMWcg6G8PCRvviIh

Added

  • Support a Markdown-based syntax for term descriptions.

  • Add a "Settings" section on the list page which allows changing the following.

    • How "compact" the overall layout is by adjusting the card widths.
    • Whether a Markdown-based syntax is enabled.
    • Whether the "Export" menu should be shown.

Changed

  • Switch to Source Sans 3 font. The Overpass font has undesired behaviour for backticks.
  • Restrict item height and show a scrollbar for longer items, depending on overall layout determined by data-card-width.

v1.9.0

01 Feb 20:47
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-diGTZQbGM2TfwcNnq/mFouTBjfMZ+TBeWYbG5pNq2xvF/24PSq5AoR5Up55WFNsX
  • glossary.min.css: sha384-N584A3SI/Vs8xFWLYLDi2vyp4mlmDW8UOsaxRLhAmM1hLS8snBaw8/xakWvw3Aak

Added

  • Show a preview on the "Edit Title and About Section" page.
  • Show a preview on the edit/create item page.

Fixed

  • After deleting an item, focus should not be on another Delete button.

v1.8.6

28 Jan 17:20
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-YhJ7hqolA/VWNaKmzRN4g0LBYLefSgT7Twb0ziYyKyEjlbRuRbH77yYaJZ6Z7UyQ
  • glossary.min.css: sha384-X4cjtTIFjbSztK4AOEGuXugDI0XFSvWNwrzsJir3JPh7zdMMhUEVMEc5r6ffnGD+

Added

  • Add a README to .tar.gz package in a release with instructions on how to run the server for editing.

Fixed

  • Don't show "How to Make Changes" instructions if editor is already running.

v1.8.5

20 Jan 10:32
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-Wmob/k7r2f7L9Hvi5vBUfwIem8BGBVzx81WsG1mTdOBKRjCMbQ0H7svD32nXQjXF
  • glossary.min.css: sha384-X4cjtTIFjbSztK4AOEGuXugDI0XFSvWNwrzsJir3JPh7zdMMhUEVMEc5r6ffnGD+

Added

  • Add crossorigin attribute to link element for CSS asset. This prepares it for having an integrity attribute added if people want to use SRI.

Fixed

  • Fix bug: do not ignore the data-enable-help-for-making-changes attribute.

v1.8.4

24 Nov 21:03
Compare
Choose a tag to compare

Changed

  • Order search results based on frequency.

v1.7.4

08 Jul 10:40
Compare
Choose a tag to compare

Fixed

  • Mention that the editor is meant to be used locally by a single user at a time.

v1.7.3

22 Jun 14:45
Compare
Choose a tag to compare

Fixed

  • Add new example to Vite config so it gets compiled.

v1.7.2

22 Jun 14:28
Compare
Choose a tag to compare

Added

  • Add Canada's Weather and meteorology glossary as an example.

v1.7.1

22 Jun 10:29
Compare
Choose a tag to compare

Fixed

  • Improve arrow key behaviour for export dropdown menu.