This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| snippet template "Basic template" b | |
| \documentclass[a4paper]{article} | |
| \usepackage[utf8]{inputenc} | |
| \usepackage[T1]{fontenc} | |
| \usepackage{textcomp} | |
| \usepackage[dutch]{babel} | |
| \usepackage{amsmath, amssymb} | |
| \begin{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Please see the script's new home: https://github.com/alphapapa/magit.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const env = { | |
| m1: `import {func} from './m2.mjs'; console.log(func());`, | |
| m2: `export function func() { return 'abc'; }` | |
| }; | |
| const inlineModule = (env, text) => `data:text/javascript;base64,${ | |
| btoa(inlineModules(env, text)) | |
| }`; | |
| const inlineModules = (env, text) => text.replace( |
OlderNewer