RequireJS is loading modules.
switchToNormal
switchToHyperMD
# HyperMD Basic Example with *RequireJS*  Hate the tedious `<script>` and `<link>` tags? Use [RequireJS][] to resolve and load modules! [RequireJS][] is a JavaScript file and module loader optimized for in-browser. Note that HyperMD `require` css files from JavaScript. **You must apply a [CSSPatch][]** before loading. ## Summary *Please read the source code of this page* 1. Include and Load RequireJS 2. Patch RequireJS (use [this file][CSSPatch]) 3. Configure RequireJS 4. Declare [main Entry Point](https://requirejs.org/docs/api.html#data-main) 5. Ready to use ## Other This page is using these powerpacks: - `fold-math-with-katex`: use KaTeX to render $\TeX$ formula! - `paste-with-turndown`: use Turndown (plus `turndown-plugin-gfm`) to convert HTML from clipboard This page also loaded [CodeMirror sTeX mode](https://codemirror.net/mode/stex/index.html) to highlight TeX formulas. [RequireJS]: https://requirejs.org/docs/start.html [CSSPatch]: ../../goods/patch-requirejs.js