diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-24 12:36:31 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-24 12:36:31 +0000 |
commit | 7679fce6563bccd9d3c77038477671ba950d1481 (patch) | |
tree | 5c22115becbb37293e98eeb1fb32115e951d33fb /spring-front/public | |
parent | wip (diff) | |
download | mdrtl-7679fce6563bccd9d3c77038477671ba950d1481.tar.gz mdrtl-7679fce6563bccd9d3c77038477671ba950d1481.zip |
wip
Diffstat (limited to '')
-rw-r--r-- | spring-front/public/index.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spring-front/public/index.html b/spring-front/public/index.html index aa0134b..00b5bc5 100644 --- a/spring-front/public/index.html +++ b/spring-front/public/index.html @@ -11,11 +11,16 @@ ></script> <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> + <meta charset="utf-8" /> <link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.5.0/styles/default.min.css" /> - <meta charset="utf-8" /> + <script type="module"> + import hljs from "https://unpkg.com/@highlightjs/cdn-assets@11.5.0/es/highlight.min.js"; + import markdown from "https://unpkg.com/@highlightjs/cdn-assets@11.5.0/es/languages/markdown.min.js"; + hljs.registerLanguage("markdown", markdown); + </script> <meta name="viewport" content="width=device-width" /> <title>RTLMD</title> </head> |