<commit_before><!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>ExcQ's Blog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="generator" content="iA Writer Pro 1.5.2 (6015)">
    <link rel="icon" href="./favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <meta name="theme-color" content="#005baa" />
    <!-- <link href="https://cdn.bootcss.com/prettify/r298/prettify.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/prettify/r298/run_prettify.min.js"></script> -->
    <link href="https://cdn.bootcss.com/prism/9000.0.1/themes/prism.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="./markdown.css">
    <style>
        div.footer {
            margin-top: 55px;
            margin-bottom: 15px;
            font-size: 1rem;
            text-align: right;
            color: #7b8894;
        }
        div.footer p {
            margin: 0;
        }
    </style>
</head>
<body>
<div style="height: 150px; background: #005fb2">
    <div style="float: left; margin-left: 1em">
        <h1><a href="." style="color: #FFFFFF; font-size: 36px">ExcQ's BOLG</a></h1>
    </div>

    <div id="id_user_action" hidden style="float: right; margin: 0.67em;position: relative;">
        <a id="a_edit" style="color: #FFFFFF; display: block;text-align: right;">编辑</a>
        <div id="a_pwd" style="color: #FFFFFF; display: none;text-align: right;" onclick="onBlogPwd()">口令</div>
    </div>
</div>
<div style="margin: 0 5%">
    <h1 id="blog_title"></h1>
    <div id="blog_content"></div>
    <blockquote id="blog_tip"></blockquote>
    <div class="footer">
        <p>©MIT 2018 by Excing.</p>
        <p>Contact me via <a href="mailto:courage.exc#google.com">mail</a>, <a href="https://github.com/excing">github</a></p>
    </div>
</div>
<script src="./http4js.js"></script>
<script src="config.js"></script>
<script src="https://cdn.bootcss.com/showdown/1.8.6/showdown.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/prism.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-java.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-go.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-powershell.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-python.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-sql.min.js"></script>
<script src="https://cdn.bootcss.com/prism/1.14.0/components/prism-vim.min.js"></script>
<script src="https://cdn.bootcss.com/js-cookie/latest/js.cookie.min.js"></script>
<script>
    var id = getQueryVariable("id");
    var token = Cookies.get('token');
    var blogPwd = "<PASSWORD>";
    var blogMode = 3; // 默认不可见

    var a_edit = document.getElementById("a_edit");
    a_edit.href = "edit.html?id=" + id;

    var a_pwd = document.getElementById("a_pwd");

    var id_user_action = document.getElementById("id_user_action");

    function viewCallback(data) {
        // alert("请求成功 " + data.length);
        var result = JSON.parse(data);
        blogMode = result.mode;

        var title = result.title;

        if (!(title === undefined)) {
            document.title = result.title + "-ExcQ's BLOG"; 

            var titleH1 = document.getElementById('blog_title');
            titleH1.innerText = title;
        }

        var contentType = result.contentType;

        if (!(contentType === undefined)) {
            var contentDiv = document.getElementById('blog_content');

            if (contentType == "md") {
                var converter = new showdown.Converter({disableForced4SpacesIndentedSublists: 'true', tasklists: 'true'}),
                    text      = result.content,
                    html      = converter.makeHtml(text);

                contentDiv.innerHTML = html;

                Prism.highlightAll();
            } else {
                var newnode = document.createElement("p");
                newnode.innerText = result.content;

                contentDiv.appendChild(newnode);
            }

            var tipDiv = document.getElementById('blog_tip');

            var editDateString = getYYYYMMDD(result.editTime);
            var createDateString = getYYYYMMDD(result.createTime);
<commit_msg>添加 md 解析 table 语法的功能<commit_after><!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>ExcQ's Blog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="generator" content="iA Writer Pro 1.5.2 (6015)">
    <link rel="icon" href="./favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <meta name="theme-color" content="#005baa" />
    <!-- <link href="https://cdn.bootcss.com/prettify/r298/prettify.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/prettify/r298/run_prettify.min.js"></script> -->
    <link href="https://cdn.bootcss.com/prism/9000.0.1/themes/prism.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="./markdown.css">
    <style>
        div.footer {
            margin-top: 55px;
            margin-bottom: 15px;
            font-size: 1rem;
            text-align: right;
            color: #7b8894;
        }
        div.footer p {
            margin: 0;
        }
    </style>
</head>
<body>
<div style="height: 150px; background: #005fb2">
    <div style="float: left; margin-left: 1em">
        <h1><a href="." style="color: #FFFFFF; font-size: 36px">ExcQ's BOLG</a></h1>
    </div>

    <div id="id_user_action" hidden style="float: right; margin: 0.67em;position: relative;">
        <a id="a_edit" style="color: #FFFFFF; display: block;text-align: right;">编辑</a>
        <div id="a_pwd" style="color: #FFFFFF; display: none;text-align: right;" onclick="onBlogPwd()">口令</div>
    </div>
</div>
<div style="margin: 0 5%">
    <h1 id="blog_title"></h1>
    <div id="blog_content"></div>
    <blockquote id="blog_tip"></blockquote>
    <div class="footer">
        <p>©MIT 2018 by Excing.</p>
        <p>Contact me via <a href="mailto:courage.exc#google.com">mail</a>, <a href="https://github.com/excing">github</a></p>
    </div>
</div>
<script src="./http4js.js"></script>
<script src="config.js"></script>
<script src="https://cdn.bootcss.com/showdown/1.8.6/showdown.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/prism.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-java.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-go.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-powershell.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-python.min.js"></script>
<script src="https://cdn.bootcss.com/prism/9000.0.1/components/prism-sql.min.js"></script>
<script src="https://cdn.bootcss.com/prism/1.14.0/components/prism-vim.min.js"></script>
<script src="https://cdn.bootcss.com/js-cookie/latest/js.cookie.min.js"></script>
<script>
    var id = getQueryVariable("id");
    var token = Cookies.get('token');
    var blogPwd = "<PASSWORD>";
    var blogMode = 3; // 默认不可见

    var a_edit = document.getElementById("a_edit");
    a_edit.href = "edit.html?id=" + id;

    var a_pwd = document.getElementById("a_pwd");

    var id_user_action = document.getElementById("id_user_action");

    function viewCallback(data) {
        // alert("请求成功 " + data.length);
        var result = JSON.parse(data);
        blogMode = result.mode;

        var title = result.title;

        if (!(title === undefined)) {
            document.title = result.title + "-ExcQ's BLOG"; 

            var titleH1 = document.getElementById('blog_title');
            titleH1.innerText = title;
        }

        var contentType = result.contentType;

        if (!(contentType === undefined)) {
            var contentDiv = document.getElementById('blog_content');

            if (contentType == "md") {
                var converter = new showdown.Converter({disableForced4SpacesIndentedSublists: 'true', tasklists: 'true', tables: 'true'}}),
                    text      = result.content,
                    html      = converter.makeHtml(text);

                contentDiv.innerHTML = html;

                Prism.highlightAll();
            } else {
                var newnode = document.createElement("p");
                newnode.innerText = result.content;

                contentDiv.appendChild(newnode);
            }

            var tipDiv = document.getElementById('blog_tip');

            var editDateString = getYYYYMMDD(result.editTime);
            var createDateString = getYYYYMMDD(result.createTime);

{'fraction_non_alphanumeric': 0.1813186813186813, 'fraction_numerical': 0.023772146221125813, 'mean_word_length': 2.8229747106729532, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, 'https://': 26, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '849478', 'n_tokens_mistral': 3203, 'n_tokens_neox': 3008, 'n_words': 496}