Skip to content

Commit

Permalink
Fix link in deprecation warning (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriangalliat committed Feb 16, 2023
1 parent 410193c commit 1dfbbbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [8.6.7] - 2023-02-16
* Fix link in deprecation warning. ([#123])

## [8.6.6] - 2022-12-18
* `npm audit fix`. ([#121])

Expand Down Expand Up @@ -236,7 +239,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [1.0.0] - 2015-03-18
* Initial release.

[Unreleased]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.6...HEAD
[Unreleased]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.7...HEAD
[8.6.7]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.6...v8.6.7
[8.6.6]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.5...v8.6.6
[8.6.5]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.4...v8.6.5
[8.6.4]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.3...v8.6.4
Expand Down Expand Up @@ -348,5 +352,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[#116]: https://github.com/valeriangalliat/markdown-it-anchor/issues/116
[#118]: https://github.com/valeriangalliat/markdown-it-anchor/issues/118
[#121]: https://github.com/valeriangalliat/markdown-it-anchor/pull/121
[#123]: https://github.com/valeriangalliat/markdown-it-anchor/issues/123

[`6fcc502`]: https://github.com/valeriangalliat/markdown-it-anchor/commit/6fcc50233d593458aa883e5b515cb8311114555c
2 changes: 1 addition & 1 deletion permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const permalinkSymbolMeta = {

export function legacy (slug, opts, state, idx) {
if (!emittedWarning) {
const warningText = 'Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#todo-anchor-or-file'
const warningText = 'Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks'

if (typeof process === 'object' && process && process.emitWarning) {
process.emitWarning(warningText)
Expand Down

0 comments on commit 1dfbbbf

Please sign in to comment.