1
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2025-04-23 07:56:03 +00:00

update markdown-it-anchor ()

* update markdown-it-anchor
* Update markdown-it-types
* Regenerate yarn.lock

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Tilman Vatteroth 2020-12-26 16:56:46 +01:00 committed by GitHub
parent 15e247f1d4
commit 53053813bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1213 additions and 1327 deletions
package.json
src/components/markdown-renderer/markdown-it-plugins
yarn.lock

View file

@ -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",
@ -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",

View file

@ -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

2531
yarn.lock

File diff suppressed because it is too large Load diff