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:
Tilman Vatteroth 2020-12-07 21:36:14 +01:00 committed by GitHub
parent 51ace63035
commit fee1605636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 435 additions and 19 deletions

View 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;
}