Created json formatter and validator. #82
@@ -11,11 +11,10 @@
 | 
			
		||||
  <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
 | 
			
		||||
  <script src="../assets/scripts/tools/scripts.js"></script>
 | 
			
		||||
  <script src="../assets/scripts/tools/json.js"></script>
 | 
			
		||||
  <script>hljs.highlightAll();</script>
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body onload="init();">
 | 
			
		||||
<div class="container">
 | 
			
		||||
<body>
 | 
			
		||||
  <div class="container">
 | 
			
		||||
    <div id="tool" class="tool rwd-expandable">
 | 
			
		||||
      <div class="tool-context">
 | 
			
		||||
        <div class="headline">
 | 
			
		||||
@@ -49,15 +48,6 @@
 | 
			
		||||
      </p>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
  const input = document.querySelector('#jsonBlock');
 | 
			
		||||
  input.addEventListener('div > div', function() {
 | 
			
		||||
    hljs.highlightElement(input);
 | 
			
		||||
  });
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
  </div>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user