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.


                <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="github-markdown.css">
	.markdown-body {
		box-sizing: border-box;
		min-width: 200px;
		max-width: 980px;
		margin: 0 auto;
		padding: 45px;

	@media (max-width: 767px) {
		.markdown-body {
			padding: 15px;
<article class="markdown-body">	
	<h1><a href="javascript:(function()%7Bjavascript%3A(function%20()%7Bdocument.getElementsByTagName('head')%5B0%5D.appendChild(document.createElement('script')).src%3D''%2BMath.random()%3B%7D())%7D)()">The textarea enhancer</a></h1>

Want improved textareas with
- Automatic extra character insertion? (type `'` and get `''`)
- Real Tab characters inserted when you type `Tab`?
- Snippets?

Then you came to the right place!

The `.js` file here enhances every textarea in the vicinity. You can use it as a bookmarklet. Just drag the title of this page to your bookmarks bar and you are good to go

If you want to customize the snippets, just fork [this]( gist, edit the snipmap object with:
let snipmap = {
  // ... other stuff
  'yoursnippet': 'yourexpansion'

And then edit the bookmarklet to include your fork instead of the original one. Or you can just comment on the gist with snippet ideas. I don't have any ideas.
If you want to know how I made this, check out [this post]()