diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a3046d..8463cdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 No changes +## [2.1.0] - 2023-06-11 + +### Fixed +- Resolved an infinite loop bug reported in #3 +- Fixed an issue with `=` sign being subsumed into the field value `string` match. +### Changed +- Renamed `macro` token type to the standard `keyword type, + which it was earlier aliased to. +### Removed +- `docs/prismjs-bibtex.min.js` has been removed; please use from jsDeliver. + +
## [2.0.1] - 2021-05-16 @@ -19,7 +31,7 @@ No changes so the minimum version is now raised to 1.19. - Updated usage instructions. - Getting the versioned-JS files from jsDelivr is recommended now. - - `prismjs-bibtex.min.js` is kept only for websites that already use it. + - `docs/prismjs-bibtex.min.js` is kept only for websites that already use it.
@@ -58,10 +70,12 @@ No changes -[Unreleased]: https://github.com/SaswatPadhi/prismjs-bibtex/compare/v1.0.0...HEAD [1.0.0]: https://github.com/SaswatPadhi/prismjs-bibtex/releases/tag/v1.0.0 [1.1.0]: https://github.com/SaswatPadhi/prismjs-bibtex/releases/tag/v1.1.0 [2.0.0]: https://github.com/SaswatPadhi/prismjs-bibtex/releases/tag/v2.0.0 [2.0.1]: https://github.com/SaswatPadhi/prismjs-bibtex/releases/tag/v2.0.1 +[2.1.0]: https://github.com/SaswatPadhi/prismjs-bibtex/releases/tag/v2.1.0 + +[Unreleased]: https://github.com/SaswatPadhi/prismjs-bibtex/compare/v2.1.0...HEAD [IIFE style]: https://developer.mozilla.org/en-US/docs/Glossary/IIFE diff --git a/README.md b/README.md index b6ed5dc..f3987f5 100644 --- a/README.md +++ b/README.md @@ -18,25 +18,26 @@ A [BibTeX] language extension for [PrismJS]. Simply import the `prism-bibtex.min.js` (recommended at the end of `body`): ```html - ``` I recommend using the [SRI (Subresource Integrity)][SRI] hash as well: ```html - ``` -Remember to import the PrismJS stylesheets and scripts **before** importing this extension. For example: +Remember to import the PrismJS stylesheets and scripts **before** importing this extension. +For example: ```html - - - ``` diff --git a/docs/acm-turing-awards.md b/docs/acm-turing-awards.md index d673ca0..ca97acb 100644 --- a/docs/acm-turing-awards.md +++ b/docs/acm-turing-awards.md @@ -3298,6 +3298,7 @@ Source: integrity="sha512-/uypNVmpEQdCQLYz3mq7J2HPBpHkkg23FV4i7/WSUyEuTJrWJ2uZ3gXx1IBPUyB3qbIAY+AODbanXLkIar0NBQ==" crossorigin="anonymous"> - diff --git a/docs/biblatex-examples.md b/docs/biblatex-examples.md index e003a60..9db2523 100644 --- a/docs/biblatex-examples.md +++ b/docs/biblatex-examples.md @@ -1682,6 +1682,7 @@ Source: - diff --git a/docs/broken.md b/docs/broken.md index 867680b..ad973ad 100644 --- a/docs/broken.md +++ b/docs/broken.md @@ -51,8 +51,9 @@ Previously led to browser being stuck on an infinite loop. integrity="sha512-9ndS8HgVHWQq2A/kpIxygbIZQ7oljc9/AvoEv8SQDy192nAuCGSdk7OdAfCZLDkbRJLZMsrV0NXycMSLLNTWCw==" crossorigin="anonymous"> - [Issue #3]: https://github.com/SaswatPadhi/prismjs-bibtex/issues/3 diff --git a/docs/index.md b/docs/index.md index eb1d427..e2cdd84 100644 --- a/docs/index.md +++ b/docs/index.md @@ -224,8 +224,9 @@ Example from - ## Large Real-Life Bibliographies diff --git a/docs/stoc_2010-2019.md b/docs/stoc_2010-2019.md index 9255da1..224a9c1 100644 --- a/docs/stoc_2010-2019.md +++ b/docs/stoc_2010-2019.md @@ -10315,6 +10315,7 @@ Source: integrity="sha512-/uypNVmpEQdCQLYz3mq7J2HPBpHkkg23FV4i7/WSUyEuTJrWJ2uZ3gXx1IBPUyB3qbIAY+AODbanXLkIar0NBQ==" crossorigin="anonymous"> - diff --git a/package.json b/package.json index a4647ce..0e208e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prismjs-bibtex", - "version": "2.0.1", + "version": "2.1.0", "description": "A language definition for BibTeX in the PrismJS syntax-highlighting framework.", "main": "prism-bibtex.js", "dependencies": {