Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

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.

HTML

            
              <html>
<head>
    <link rel="stylesheet" href="https://rawgit.com/MGApcDev/TypesetBot/master/dist/typesetbot.min.css">
    <script type="text/javascript" src="https://rawgit.com/MGApcDev/TypesetBot/master/dist/typesetbot.js"></script>

    <!-- (optional) -->
    <!-- hyphenation library -->
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdn.rawgit.com/bramstein/hypher/v0.2.5/dist/jquery.hypher.js"></script>
    <!-- hyphenation pattern for US english -->
    <script type="text/javascript" src="https://cdn.rawgit.com/bramstein/hyphenation-patterns/dc01d58a/dist/browser/en-us.js"></script>
  
    <script type="text/javascript">
        TypesetBot.attach(
          '.some-query-selector',
          {
            alignment: 'justify',
            hyphenLanguage: 'en-us',
            // ...more settings
          }
        );
    </script>
  
</head>
<body class="some-query-selector">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing
elit. Aenean suscipit magna sit amet mi ullamcor-
per, ac egestas sem tempor. Suspendisse maximus
massa orci, non condimentum ligula gravida nec.
Nam lacus orci, elementum id dolor vitae, laoreet
commodo elit. Morbi a felis sit amet diam egestas
convallis. Sed imperdiet vestibulum lacus, euismod
sagittis nisi suscipit sit amet. Nam ut lectus nunc. Ali-
quam erat volutpat. Suspendisse sollicitudin finibus
neque eu posuere. Etiam cursus fermentum nibh,
ac iaculis quam fringilla et. Proin lacinia imperdiet
lorem. Duis in lorem non lectus accumsan biben-
dum. Fusce mattis purus vitae lacus posuere sus-
cipit. Donec vitae nibh quis lacus lacinia consequat
eget in mauris. Ut diam mauris, dictum id porta id,
lacinia scelerisque neque. Nullam id ultrices ligu-
la, eget ullamcorper risus. Aenean a justo sed felis
maximus blandit in ut purus. Vestibulum pharetra ur-
na non nisi pharetra mattis. Duis neque eros, ultrices
in malesuada dignissim, porttitor quis lectus. Mau-
ris id bibendum odio. In porttitor, libero a pulvinar
tincidunt, purus ante auctor augue, ornare placerat
sem dui nec ante. Ut tincidunt ante pretium magna
dictum, id venenatis nulla cursus. Integer porta mau-
ris arcu, in viverra elit sagittis at.</p>
</body>
</html>
            
          
!

CSS

            
              /* Nothing here */
            
          
!

JS

            
              // Nothing here
            
          
!
999px

Console