mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Add custom language list for highlight js without 1c (#809)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
51ace63035
commit
fee1605636
7 changed files with 435 additions and 19 deletions
12
src/external-types/highlight.js/core.d.ts
vendored
Normal file
12
src/external-types/highlight.js/core.d.ts
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: Copyright (c) 2006, Ivan Sagalaev
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
declare module 'highlight.js/lib/core' {
|
||||
export = hljs;
|
||||
}
|
||||
|
||||
declare module 'highlight.js/lib/languages/*' {
|
||||
export default function(hljs?: hljs): LanguageDetail;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue