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 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.


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.


                <div ng-app="markdownApp" ng-controller="markdownController">
  <h5 style="text-align: right"><a target="_blank" href="">Video Tutorial</a></h5>
    <textarea ng-model="input" placeholder="Enter Markdown text here" autofocus="true"></textarea>
    <div ng-cloak ng-if="input.length > 0">
        <!-- the "|" is a finter I am going to use in javascript -->
        <div ng-bind-html="input | markdown" class="preview"></div>
  <div class="text-center" id="footer"> <!-- for footer -->
      <div class="col-xs-6">
      <h5><a href="" target="_blank">Eleftheria</a> | <a href="" target="_blank">Projects</a> | <a href="" target="_blank"> Coding videos </a></h5>
      <!-- social media -->
      <div class="col-xs-6 text-primary">
        <a href="" target="_blank">
     <img src="" 
      style="text-align:center" alt="twitter"> 
         <a href="" target="_blank">
     <img src="" 
      style="text-align:center" alt="github"> 
        <a href="" target="_blank">
     <img id="footerSvg" src="" 
       style="text-align:center" alt="youtube"> 
    </div> <!-- end footer -->



                $lightGrey: #D9DACD;

body {
  background-color: $lightGrey;
  padding: 1em;
  font-family: "Helvetica Neue";

textarea {
  width: 100%;
  height: 15em;
  padding: 0.5em;

.preview {
   background: white;
   padding: 0.5em;

a:link    {color:orangered;  text-decoration:none}
a:visited {color:orangered; text-decoration:none}
a:hover   {color:red; text-decoration:underline} 

  width: 32px;


                angular.module('markdownApp', ['ngSanitize'])

.controller('markdownController', function($scope) {
    $scope.input = 'Enter your Markdown.' +
        '\n' +
        '\n- *first*' +
        '\n- **second**' +
        '\n- third' +
        '\n' +
        '\n Text attributes *italic*, **bold**, `monospace`';

.filter('markdown', function() {
    var converter = new Showdown.converter();
    return converter.makeHtml;