Skip to content

Commit

Permalink
feat: add highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Apr 30, 2024
1 parent 16a17c3 commit d2bcb7e
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 116 deletions.
40 changes: 40 additions & 0 deletions examples/FragmentHighlighter/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="../../resources/styles.css">
<link rel="icon" type="image/x-icon" href="../../resources/favicon.ico">
<title>Fragment Highlighter</title>
<style>
body {
margin: 0;
padding: 0;
}

.full-screen {
width: 100vw;
height: 100vh;
position: relative;
overflow: hidden;
}
</style>
<script type="module" crossorigin src="../assets/fragmentHighlighter.js"></script>
<link rel="modulepreload" crossorigin href="../assets/unzipit.module-DQmiVUKU.js">
<link rel="modulepreload" crossorigin href="../assets/_commonjsHelpers-Cpj98o6Y.js">
<link rel="modulepreload" crossorigin href="../assets/stats.min-GTpOrGrX.js">
<link rel="modulepreload" crossorigin href="../assets/lil-gui.module.min-Bc0DeA9g.js">
<link rel="modulepreload" crossorigin href="../assets/serializer-DZyNoHx-.js">
<link rel="modulepreload" crossorigin href="../assets/stream-serializer-BO8jmA13.js">
<link rel="modulepreload" crossorigin href="../assets/N8AO-CNivsaIi.js">
<link rel="modulepreload" crossorigin href="../assets/index-BqklWmzc.js">
</head>

<body>
<div class="full-screen" id="container"></div>
</body>

</html>
Expand Down
1 change: 1 addition & 0 deletions examples/assets/fragmentHighlighter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d2bcb7e

Please sign in to comment.