美文网首页
测试一下代码样式

测试一下代码样式

作者: 伊伊之爸 | 来源:发表于2016-12-22 13:27 被阅读0次
    def test():
      return True
    
    <?php
    
    // This file passes the content of the Readme.md file in the same directory
    // through the Markdown filter. You can adapt this sample code in any way
    // you like.
    
    // Install PSR-0-compatible class autoloader
    spl_autoload_register(function($class){
        require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php';
    });
    
    // Get Markdown class
    use \Michelf\Markdown;
    
    // Read file and pass content through the Markdown parser
    $text = file_get_contents('test.md');
    $html = Markdown::defaultTransform($text);
    
    ?>
    <!DOCTYPE html>
    <html>
        <head>
            <title>PHP Markdown Lib - Readme</title>
        </head>
        <body>
            <?php
                // Put HTML content in the document
                echo $html;
            ?>
        </body>
    </html>
    
    Public Class IP0007_Parameter
        Inherits CommonParameter
    
        ''' <summary>
        ''' 画面項目: 物件No
        ''' </summary>
        ''' <value></value>
        ''' <returns>物件No</returns>
        Public Property HousingNo As String = String.Empty
    
    End Class
    

    相关文章

      网友评论

          本文标题:测试一下代码样式

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