Releases: hilverd/glossary-page-template
Releases · hilverd/glossary-page-template
v2.1.0
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
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
- Point the static assets to a version starting with
@2
. - When making changes, open Settings at the top of the page and switch the input syntax to Markdown.
- 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.
- This uses elm-markdown which implements GitHub Flavored Markdown.
-
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
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
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
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 tolink
element for CSS asset. This prepares it for having anintegrity
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
Changed
- Order search results based on frequency.
v1.7.4
Fixed
- Mention that the editor is meant to be used locally by a single user at a time.
v1.7.3
Fixed
- Add new example to Vite config so it gets compiled.
v1.7.2
Added
- Add Canada's Weather and meteorology glossary as an example.
v1.7.1
Fixed
- Improve arrow key behaviour for export dropdown menu.