Skip to content
Snippets Groups Projects
Verified Commit ba4ce5b9 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: move from devenv to flake.nix (wip)

parent f67212aa
No related branches found
No related tags found
No related merge requests found
Showing
with 1478 additions and 1342 deletions
This diff is collapsed.
...@@ -12,37 +12,11 @@ import "../../../source/monster.mjs"; ...@@ -12,37 +12,11 @@ import "../../../source/monster.mjs";
import "../styles/monster.pcss"; import "../styles/monster.pcss";
import {domReady} from "../../../source/dom/ready.mjs"; import {domReady} from "../../../source/dom/ready.mjs";
// import hljs from 'highlight.js/lib/core';
// import javascript from 'highlight.js/lib/languages/javascript';
// import html from 'highlight.js/lib/languages/xml';
// import css from 'highlight.js/lib/languages/css';
//
// // import css
// import 'highlight.js/styles/default.css';
import 'prismjs'; import 'prismjs';
//import 'prismjs/themes/prism.css';
// import {loadLanguages} from 'prismjs';
//
// loadLanguages(['js', 'css', 'html',"pcss"]);
//
domReady.then(()=> { domReady.then(()=> {
let codeBlocks = document.querySelectorAll('pre code'); let codeBlocks = document.querySelectorAll('pre code');
console.log(codeBlocks);
codeBlocks.forEach((block) => { codeBlocks.forEach((block) => {
Prism.highlightElement(block); Prism.highlightElement(block);
}); });
} ); } );
// hljs.registerLanguage('javascript', javascript);
// hljs.registerLanguage('html', html);
// hljs.registerLanguage('css', css);
//
//
// hljs.highlightAll();
\ No newline at end of file
This diff is collapsed.
/** /**
* Copyright schukai GmbH and contributors 2022. All Rights Reserved. * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
* Node module: @schukai/monster * Node module: @schukai/monster
* This file is licensed under the AGPLv3 License. *
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
* The full text of the license can be found at: https://www.gnu.org/licenses/agpl-3.0.en.html
*
* For those who do not wish to adhere to the AGPLv3, a commercial license is available.
* Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
* For more information about purchasing a commercial license, please contact schukai GmbH.
*/ */
import { ATTRIBUTE_PREFIX } from "../dom/constants.mjs"; import { ATTRIBUTE_PREFIX } from "../dom/constants.mjs";
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment