cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

              <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<body class="bg-primary">
<div id="wrapper" class="wrapper">
              $primary-text: #ffffff;
$secondary-text: #000000;
a, a:hover, a:visited {
  color: $primary-text;
  margin-top: 20px;

  min-height: 500px;
  width: 100%;
  color: $secondary-text;

#right {
  margin-left: 10px;

              // Set up the screen layout.
var BuildScreen = React.createClass({
  render: function() {
    return (
      <div className='row'>
        <div className='container col-md-5 col-xs-5 col-md-offset-1'>
          <textarea id='user-input'></textarea>
        <div className='container col-md-5 col-xs-5'>
          <div id='right'></div>
      <div className='row text-center'>
        <a href="http://raymondrizzo.com/Portfolio" target="_blank">Raymond Rizzo</a>

// Render the screen.
ReactDOM.render(<BuildScreen/>, document.getElementById('wrapper'));

// Set the textbox contents.
document.getElementById('user-input').value = 'Heading\n=======\n\nSub-heading\n-----------\n\n ### Another deeper heading\n\n Paragraphs are separated\nby a blank line.\n\nLeave 2 spaces at the end of a line to do a  \nline break\n\nText attributes *italic*, **bold**, \n`monospace`, ~~strikethrough~~ .\n\nShopping list:\n  * apples\n  * oranges\n  * pears\nNumbered list:\n\n  1. apples\n  2. oranges\n  3. pears\n\n\nThe rain---not the reign---in  \nSpain.\n\n *[Herman Fassett](https://freecodecamp.com/hermanfassett)*';

// Do the initial formatting.
document.getElementById('right').innerHTML = (marked(document.getElementById('user-input').value));

// Watch for changes and update the right div with formatted text.
  document.getElementById('right').innerHTML = (marked(document.getElementById('user-input').value));
Loading ..................