76 lines
1.7 KiB
HTML
76 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="assets/favicon.png" />
|
|
<title>Inline color ▲ Prism plugins</title>
|
|
<base href="../.." />
|
|
<link rel="stylesheet" href="assets/style.css" />
|
|
<link rel="stylesheet" href="themes/prism.css" data-noprefix />
|
|
<link rel="stylesheet" href="plugins/inline-color/prism-inline-color.css" data-noprefix />
|
|
<style>
|
|
/* Also works here */
|
|
a.not-a-class {
|
|
color: red;
|
|
}
|
|
</style>
|
|
<script src="assets/vendor/prefixfree.min.js"></script>
|
|
<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
|
|
<script src="https://www.google-analytics.com/ga.js" async></script>
|
|
</head>
|
|
<body>
|
|
|
|
<span style="display: none; color: blue;"></span>
|
|
|
|
<header data-plugin-header="inline-color"></header>
|
|
|
|
<section>
|
|
<h1>Examples</h1>
|
|
|
|
<h2>CSS</h2>
|
|
<pre><code class="language-css">span.foo {
|
|
background-color: navy;
|
|
color: #BFD;
|
|
}
|
|
|
|
span.bar {
|
|
background: rgba(105, 0, 12, .38);
|
|
color: hsl(30, 100%, 50%);
|
|
border-color: transparent;
|
|
}</code></pre>
|
|
|
|
<pre data-src="themes/prism.css"></pre>
|
|
|
|
<h2>HTML (Markup)</h2>
|
|
<pre><code class="language-markup"><!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
<title>Example</title>
|
|
<style>
|
|
/* Also works here */
|
|
a.not-a-class {
|
|
color: red;
|
|
}
|
|
</style>
|
|
<body style="color: black">
|
|
|
|
</body>
|
|
</html></code></pre>
|
|
|
|
</section>
|
|
<footer data-src="assets/templates/footer.html" data-type="text/html"></footer>
|
|
|
|
<script src="prism.js"></script>
|
|
<script src="components/prism-css-extras.js"></script>
|
|
<script src="plugins/inline-color/prism-inline-color.js"></script>
|
|
<script src="assets/vendor/utopia.js"></script>
|
|
<script src="components.js"></script>
|
|
<script src="assets/code.js"></script>
|
|
|
|
|
|
</body>
|
|
</html>
|