Tag Matcher Demo

 
<html>
  <head><title>CodeMirror: Tag Matcher Demo</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../doc/docs.css">
<link rel="stylesheet" href="../lib/codemirror.css">
<script src="../lib/codemirror.js"></script>
<script src="../addon/fold/xml-fold.js"></script>
<script src="../addon/edit/matchtags.js"></script>
<script src="../mode/xml/xml.js"></script>
<style type="text/css">
      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
    </style>
</head><body><div id="nav">
  <a href="http://codemirror.net"><img id="logo" src="../doc/logo.png"></a>
  <ul>
    <li><a href="/experiments/lib/codemirror-4.4/">Home</a>
    </li><li><a href="/experiments/lib/codemirror-4.4/doc/manual">Manual</a>
    </li><li><a href="https://github.com/marijnh/codemirror">Code</a>
  </li></ul>
  <ul>
    <li><a class="active" href="#">Tag Matcher</a>
  </li></ul>
</div>
<article>
<h2>Tag Matcher Demo</h2>
    <div id="editor"></div>

Put the cursor on or inside a pair of tags to highlight them. Press Ctrl-J to jump to the tag that matches the one under the cursor.