JavaScript preprocessors can help make authoring JavaScript easier and more convenient. For instance, CoffeeScript can help prevent easy-to-make mistakes and offer a cleaner syntax and Babel can bring ECMAScript 6 features to browsers that only support ECMAScript 5.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
HTML Settings
Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>John Smith's CV</title>
<link href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.1/normalize.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/paper-css@0.4.1/paper.min.css" rel="stylesheet"/>
<style>@page { size: A4 }</style>
</head>
<body class="A4">
<article class="sheet padding-20mm">
<header>
<h1>John Smith</h1>
<ul>
<li><a href="mailto:john.smith@example.com">john.smith@example.com</a></li>
<li><a target="_blank" href="https://github.com/example">github.com/example</a></li>
</ul>
</header>
<section id="education">
<h2>Education</h2>
<section id="school">
<h3>Fake School, <em class="subtitle">Fake Engineering Immersive</em></h3>
<span class="date">Sept 2019 | Jan 2020</span>
</section>
<section id="uni">
<h3>Fake University, <em class="subtitle">Fake Studies (MA)</em></h3>
<span class="date">Sept 2015 | May 2019</span>
<p>
Graduated with fake honours.
</p>
</section>
</section>
<section id="projects">
<h2>Projects</h2>
<section id="project1">
<h3>Fake Project #1</h3>
<p>
A really cool project I made which is totally fake!
</p>
</section>
<section id="project2">
<h3>Fake Project #2</h3>
<p>
Another fake project I made. Totally different from the other one.
</p>
</section>
<section id="experience">
<h2>Experience</h2>
<section id="job1">
<h3>Fake Job #1, <em class="subtitle">Fake Consultant</em></h3>
<span class="date">July 2017</span>
<p>
Provided fake support for fake clients.
</p>
</section>
<section id="job2">
<h3>Fake Job #2, <em class="subtitle">Fake Manager</em></h3>
<span class="date">Jan 2016 | Aug 2016</span>
<p>
Managed loads of fake employees.
</p>
</section>
</section>
</article>
</body>
</html>
body {
font-family: -apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Roboto",
"Helvetica Neue", Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14;
}
header {
text-align: right;
}
header h1 {
margin-top: 0;
font-size: 2.5em;
}
header ul {
list-style-type: none;
margin-top: -15px;
font-size: 1.1em;
}
h2 {
font-size: 1.8em;
margin-bottom: 0;
}
h3 {
margin-top: 0.6em;
}
.subtitle {
font-weight: normal;
}
h3 {
margin-bottom: 5px;
}
p {
margin-top: 5px;
line-height: 1.3;
}
a {
color: black;
text-decoration: none;
}
a:hover, a:focus {
text-decoration: underline;
}
Also see: Tab Triggers