Fancy Comments

Inline HTML comments are often used by educators to annotate projects that they share with their students.

BUT

What if we had an automatic way to convert HMTL comments inside of an editor into a cool step-by-step walkthrough?

Turn on fancy comments and try it out...

Toggle Fancy Comments

Note: I'm faking the multi-line highlight but I've got some ideas for how to make it work automatically!

<html>
  <!--
  The head tag contains important information
  about this web page, like the title, which appears
  in the tab when a page is opened.
  -->
The head tag contains important information about this web page, like the title, which appears in the tab when a page is opened.
Comment /
  <head>
    <title>Bramble</title>
  </head>
  <body>
    <!--
    This is a paragraph, use it to add text!
    -->
This is a paragraph, use it to add text!
Comment /
    <p>Hello World</p>
    <!--
    This is an unordered list. You can add as many
    items as you want! When viewed, bullets will be
    added automatically!
    -->
This is an unordered list. It you can add as many items as you want, and HTML automatically adds bullet points!
Comment /
    <ul>
      <li>List Item 1</li>
      <li>List Item 2</li>
      <li>List Item 2</li>
    </ul>
  </body>
</html>