Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

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.

+ add another resource


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


  <strong>Turn this Logic Pro marker copy/paste list...</strong>
  <textarea name="" id="markdown">
01:01:11.989	Guest introduction	 00:00:00.000
01:02:13.750	What is Apollo?	 00:00:00.000
01:07:03.803	Do you think of yourself as a front-end developer?	 00:00:00.000
01:08:57.074	Where do you see the divide in jobs?	 00:00:00.000
01:11:14.890	What's your dream project?	 00:00:00.000
01:17:42.019	What's the hardest part of front-end development?	 00:00:00.000
01:22:56.110	Sponsor: Jetpack	 00:00:00.000
01:24:27.436	What problems did you encounter with Vue?	 00:00:00.000
01:27:51.266	Is it easy to make a bad query?	 00:00:00.000
01:35:26.652	How do you approach performance?	 00:00:00.000
01:39:13.173	What's the closet to the metal to spit out GraphQL	 00:00:00.000
01:42:14.744	What's the security model?	 00:00:00.000
01:46:24.903	Dribbble Design #1	 00:00:00.000
01:51:18.069	Dribbble Design #2	 00:00:00.000
01:52:59.906	Dribbble design #3	 00:00:00.000
01:56:58.822	Dribbble design #4	 00:00:00.000
01:58:30.874	Dribbble design #5	 00:00:00.000
    <button id="run">Run</button>

    <strong>... into this Markdown List</strong>
<div id="result">


                * {
  box-sizing: border-box;
html, body {
  height: 100%;
body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
body > div {
  display: flex;
  flex-direction: column;
  background-color: #f2f2f2;
strong {
  display: block;
  text-align: center;
  padding: 1rem;
textarea {
  flex: 1;
  display: block;
  width: 100%;
  border: 0;
/*   font: 1.2rem monospace; */
  font-weight: 400;

#markdown {
  background: #344;
  color: #fff;
#result {
  padding: 30px;
  line-height: 2em;
#run {
  background-color: #e64;
  border: 0;
  padding: 15px;
  font-weight: bold;
  color: #fff;


                const run = document.querySelector('#run') // Hook up the 🏃‍ run button
const original = document.querySelector('#markdown');

function generateMarkdown(){
  let array = original.value.split('\n'); // Create array from data
  array = array.filter(Boolean); // Removes empty item from the data (eg the last one because it still has a new line, but no data in it)
  const result = document.querySelector('#result'); // Here we'll put the result when our function is done
  result.innerHTML = '';
  const regexFirstNumbers = /\d+?\:/ms; // 🕑 Regex to clean the time data eg "01:"
  const regexLastNumbers = /\.\d+/ms; // 🕑 Regex to clean the last few number from the time eg ".989"

  array.forEach(function(item) {
    const removeEmptyTime = item.replace('	 00:00:00.000', ''); // Remove the unnecessary empty timestamp from string
    const data = removeEmptyTime.split('	'); // Create a array of the singular data set (time and title)

    const title = data[1]; // Set the title
    const time = data[0].replace(regexFirstNumbers, '').replace(regexLastNumbers,''); // 🕑 Strip the earliser defined number from the time

    const template = `* **[${time}](#t=${time})** ${title}<br>`; // 📝 Create template string for the complete markdown template
    result.innerHTML += template; // 🎉 Add the item to the rest of the results 
run.addEventListener('click', generateMarkdown); // Trigger a function with the 🏃‍ run button