{"id":201,"date":"2022-07-21T14:43:12","date_gmt":"2022-07-21T06:43:12","guid":{"rendered":"https:\/\/blog.cirno.fun\/?p=201"},"modified":"2022-07-21T14:43:12","modified_gmt":"2022-07-21T06:43:12","slug":"markdown%e6%8f%92%e4%bb%b6%e6%b5%8b%e8%af%95","status":"publish","type":"post","link":"https:\/\/blog.sssn.tech\/?p=201","title":{"rendered":"Markdown\u63d2\u4ef6\u6d4b\u8bd5"},"content":{"rendered":"<h3>\u4ee3\u7801\u9ad8\u4eae<\/h3>\n<p>Php\u4ee3\u7801<\/p>\n<pre><code class=\"language-php\">function sayHello() {\n    return &#039;Hello! World.&#039;;\n}\n\necho sayHello();<\/code><\/pre>\n<p>C\u4ee3\u7801<\/p>\n<pre><code class=\"language-c\">int main() {\n    printf(&quot;Hello! World.\\n&quot;);\n    return 0;\n}<\/code><\/pre>\n<h3>\u6570\u5b66\u516c\u5f0f<\/h3>\n<p>Katex\u5757\u516c\u5f0f<\/p>\n<pre><code class=\"language-katex\">f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi<\/code><\/pre>\n<p>KaTex \u884c\u5167\u516c\u5f0f <code class=\"katex-inline\">f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi<\/code><\/p>\n<p>mathjax\u5757\u516c\u5f0f<\/p>\n<pre><code class=\"language-mathjax\">\\color{black} f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi<\/code><\/pre>\n<p>mathjax\u884c\u5185\u516c\u5f0f<code class=\"mathjax-inline language-mathjax\">f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi<\/code><\/p>\n<h3>mermaid\u56fe<\/h3>\n<pre><code class=\"language-mermaid\">sequenceDiagram\nparticipant Alice\nparticipant Bob\nAlice-&gt;&gt;John: Hello John, how are you?\nloop Healthcheck\nJohn-&gt;&gt;John: Fight against hypochondria\nend\nNote right of John: Rational thoughts prevail...\nJohn--&gt;&gt;Alice: Great!\nJohn-&gt;&gt;Bob: How about you?\nBob--&gt;&gt;John: Jolly good!<\/code><\/pre>\n<h3>\u6d41\u7a0b\u56fe<\/h3>\n<pre><code class=\"language-mermaid\">graph TD\n    A[Start] --&gt; B{Is it?};\n    B --&gt;|Yes| C[OK];\n    C --&gt; D[Rethink];\n    D --&gt; B;\n    B ----&gt;|No| E[End];<\/code><\/pre>\n<h3>\u987a\u5e8f\u56fe<\/h3>\n<pre><code class=\"language-seq\">A-&gt;B: Message\nB-&gt;C: Message\nC-&gt;A: Message<\/code><\/pre>\n<h3>\u4e0a\u8ff0\u529f\u80fd\u6e90\u7801<\/h3>\n<pre><code>### \u4ee3\u7801\u9ad8\u4eae\n\nPhp\u4ee3\u7801\n\n\\```php\nfunction sayHello() {\n    return &#039;Hello! World.&#039;;\n}\n\necho sayHello();\n\\```\n\nC\u4ee3\u7801\n\\```c\nint main() {\n    printf(&quot;Hello! World.\\n&quot;);\n    return 0;\n}\n\\```\n\n### \u6570\u5b66\u516c\u5f0f\n\nKatex\u5757\u516c\u5f0f\n\n\\```katex\nf(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi\n\\```\n\nKaTex \u884c\u5167\u516c\u5f0f `$$ f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi $$`\n\nmathjax\u5757\u516c\u5f0f\n\n\\```mathjax\n\\color{black} f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi\n\\```\n\nmathjax\u884c\u5185\u516c\u5f0f`$ f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi $`\n\n### mermaid\u56fe\n\\```mermaid\nsequenceDiagram\nparticipant Alice\nparticipant Bob\nAlice-&gt;&gt;John: Hello John, how are you?\nloop Healthcheck\nJohn-&gt;&gt;John: Fight against hypochondria\nend\nNote right of John: Rational thoughts prevail...\nJohn--&gt;&gt;Alice: Great!\nJohn-&gt;&gt;Bob: How about you?\nBob--&gt;&gt;John: Jolly good!\n\\```\n\n### \u6d41\u7a0b\u56fe\n\n\\```mermaid\ngraph TD\n    A[Start] --&gt; B{Is it?};\n    B --&gt;|Yes| C[OK];\n    C --&gt; D[Rethink];\n    D --&gt; B;\n    B ----&gt;|No| E[End];\n\\```\n\n### \u987a\u5e8f\u56fe\n\n\\```seq\nA-&gt;B: Message\nB-&gt;C: Message\nC-&gt;A: Message\n\\```\n<\/code><\/pre>\n<hr \/>\n<p><strong>\u5947\u602a\u7684\u662f\u5c31\u7b97\u5c06MD\u683c\u5f0f\u6e90\u7801\u585e\u8fdb\u4ee3\u7801\u5757\u91cc\u7cfb\u7edf\u8fd8\u662f\u4f1a\u81ea\u52a8\u8bc6\u522b\u4e3a\u72ec\u7acb\u7684\u4ee3\u7801\u5757\u5e76\u5c06\u4e4b\u8f6c\u6362\u4e3a\u5bf9\u5e94\u7684\u683c\u5f0f\uff0c\u6240\u4ee5\u4e3a\u4e86\u89c4\u907f\u4e0d\u5f97\u4e0d\u5c06\u6240\u6709\u4ee3\u7801\u5757\u8bc6\u522b\u7b26\u53f7\u524d\u52a0\u4e86\u4e00\u4e2a&#8217;\\&#8217;\uff0c\u5982\u679c\u590d\u5236\u8bf7\u5c06\u4e4b\u5220\u6389<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee3\u7801\u9ad8\u4eae Php\u4ee3\u7801 function sayHello() { return  [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=201"}],"version-history":[{"count":0,"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=\/wp\/v2\/posts\/201\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.sssn.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}