Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.


                <base href="">
<script src="../webcomponentsjs/webcomponents-lite.js"></script>

<link rel="import" href="../paper-styles/demo-pages.html">
<link rel="import" href="marked-element.html">

  <style is="custom-style">
    .centered {
      max-width: 550px;
      padding: 0;
      overflow: auto;
    h1 {
      margin-left: 30px;
    h3 {
      color: var(--google-grey-700);
      margin-left: 30px;
    marked-element {
      display: block;
      background-color: var(--google-grey-100);
      padding: 10px 30px;
      margin-bottom: 10px;
    .markdown-html.custom p {
      padding-left: 24px;


<div class="vertical-section vertical-section-container centered">

    <h3>Inline Text</h3>
      <div slot="markdown-html"></div>
      <script type="text/markdown">
        ## Markdown Renderer 
          <paper-icon-button icon="menu"></paper-icon-button>
          <div class="title">Title</div>
          <paper-icon-button icon="more"></paper-icon-button>
        _Nifty_ features.

    <h3>Text via Attribute, with custom styling</h3>
    <marked-element markdown="***Bold and italic***">
      <div slot="markdown-html" class="markdown-html custom"></div>

    <h3>Remote content</h3>
    <marked-element id="remoteContent">
      <div class="markdown-html"></div>
      <script type="text/markdown" src="demo/">
        Loading markdown...