美文网首页
简书的代码高亮(markdown)

简书的代码高亮(markdown)

作者: rekk | 来源:发表于2016-06-21 13:52 被阅读1029次

    java

    int a = 5;
    Integer a = new Integer(4);
    
    var b = 1;
    $(function(){
      $('div').html('I am a div.');
    });
    
    def fib(n): # write Fibonacci series up to n               """Print a Fibonacci series up to n.""" 
      a, b = 0, 1 
      while a < n: 
        print a, 
        a, b = b, a+b
    

    js

    int a = 5;
    Integer a = new Integer(4);
    
    var b = 1;
    $(function(){
      $('div').html('I am a div.');
    });
    
    def fib(n): # write Fibonacci series up to n               """Print a Fibonacci series up to n.""" 
      a, b = 0, 1 
      while a < n: 
        print a, 
        a, b = b, a+b
    

    python

    int a = 5;
    Integer a = new Integer(4);
    
    var b = 1;
    $(function(){
      $('div').html('I am a div.');
    });
    
    def fib(n): # write Fibonacci series up to n               """Print a Fibonacci series up to n.""" 
      a, b = 0, 1 
      while a < n: 
        print a, 
        a, b = b, a+b
    

    相关文章

      网友评论

          本文标题:简书的代码高亮(markdown)

          本文链接:https://www.haomeiwen.com/subject/gbrgdttx.html