tag-browser: use separate <code-block> module for style preview
This commit is contained in:
parent
b9e140dbbd
commit
97e42e134a
6 changed files with 991 additions and 286 deletions
|
@ -4,7 +4,8 @@
|
|||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta charset="UTF-8">
|
||||
<title>firefox-csshacks tag browser</title>
|
||||
<script type="text/javascript" src="html_resources/selector.js"></script>
|
||||
<script type="module" src="html_resources/selector.js"></script>
|
||||
<script type="module" src="html_resources/code-block/code-block.js"></script>
|
||||
<link href="html_resources/main.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="icon" href="html_resources/favicon.svg" type="image/svg+xml">
|
||||
</head>
|
||||
|
@ -21,7 +22,7 @@
|
|||
<div id="targets">
|
||||
</div>
|
||||
<div>
|
||||
<pre id="previewBox"></pre>
|
||||
<code-block data-highlight="css" data-matchlinks="[\w-\.]+\.css -> ./chrome/%s" id="previewBox" class="copy-able"></code-block>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue