Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
update markdown-it-anchor (#892)
Browse files Browse the repository at this point in the history
* update markdown-it-anchor
* Update markdown-it-types
* Regenerate yarn.lock

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
  • Loading branch information
mrdrogdrog authored Dec 26, 2020
1 parent 15e247f commit 5305381
Show file tree
Hide file tree
Showing 3 changed files with 1,216 additions and 1,330 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
"@testing-library/user-event": "12.6.0",
"@types/codemirror": "0.0.102",
"@types/d3-graphviz": "2.6.6",
"@types/diff": "4.0.2",
"@types/diff": "5.0.0",
"@types/domhandler": "2.4.1",
"@types/highlight.js": "9.12.4",
"@types/jest": "26.0.19",
"@types/js-yaml": "3.12.5",
"@types/luxon": "1.25.0",
"@types/markdown-it": "10.0.3",
"@types/markdown-it-anchor": "4.0.4",
"@types/markdown-it": "12.0.0",
"@types/markdown-it-container": "2.0.3",
"@types/mermaid": "8.2.1",
"@types/node": "12.12.53",
Expand Down Expand Up @@ -62,7 +61,7 @@
"luxon": "1.25.0",
"markdown-it": "12.0.4",
"markdown-it-abbr": "1.0.4",
"markdown-it-anchor": "6.0.1",
"@mrdrogdrog/markdown-it-anchor": "6.0.3",
"markdown-it-container": "3.0.0",
"markdown-it-deflist": "2.1.0",
"markdown-it-emoji": "2.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/

import anchor from '@mrdrogdrog/markdown-it-anchor'
import MarkdownIt from 'markdown-it'
import anchor from 'markdown-it-anchor'

export const headlineAnchors: MarkdownIt.PluginSimple = (markdownIt) => {
// noinspection CheckTagEmptyBody
Expand Down
Loading

0 comments on commit 5305381

Please sign in to comment.