EDGE Code

Markup


      

        Unlike other code-highlighter, you don't need to escape < into &lt;
        
...
Add class ".line-numbers" to include numbering Add attribute data-line to highlight specific lines The value can be a range like "5-7"

Python


      def do_something():
        print("Hello World")
    

CSS


      *,
      *:before,
      *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box; }
    

Javascript


      $(document).ready(function() {
        var text = "Hello World";
        var num = 5 + 10;
      });
    

Ruby


      def do_something():
        puts "Hello World"
      end