-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy Post "Markdown Cheatsheet" (#84)
- Loading branch information
1 parent
834ca9f
commit 7533702
Showing
4 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"hash":"gridsome","data":{"label":{"id":"blog: cheatsheet","name":"cheatsheet","type":"blog","belongsTo":{"edges":[{"node":{"id":"77","title":"换源集合","path":"/post/pkg-source/","summary":"\n<p>各种换源,我要的都在这里了。针对天朝就不用国际语言了 <g-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f604.png\">😄</g-emoji></p>\n","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-06-30T06:47:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"81","title":"Linux (Ubuntu) Cheatsheet","path":"/post/linux-cht/","summary":"\n<p>Useful commands and tips about system operation. Things more about scripting is in <a href=\"https://allanchain.github.io/blog/post/bash\" rel=\"nofollow\">Bash Cheatsheet</a></p>\n","createdAt":"2020-04-18T04:48:27.000Z","lastEditedAt":"2020-06-30T06:59:29.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"82","title":"Bash Cheatsheet","path":"/post/bash-cht/","summary":null,"createdAt":"2020-04-18T04:48:39.000Z","lastEditedAt":"2020-06-30T06:59:32.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"83","title":"FFmpeg Cheatsheet","path":"/post/ffmpeg-cht/","summary":null,"createdAt":"2020-03-21T23:56:57.000Z","lastEditedAt":"2020-06-30T09:14:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"84","title":"Markdown Cheatsheet","path":"/post/markdown-cht/","summary":"\n<p>Tricks which are less known to markdown starters</p>\n","createdAt":"2020-04-18T04:48:51.000Z","lastEditedAt":"2020-06-30T06:58:26.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"85","title":"Vim Cheatsheet","path":"/post/vim-cht/","summary":null,"createdAt":"2020-04-18T04:48:56.000Z","lastEditedAt":"2020-07-01T13:01:11.000Z","image":null,"labels":[{"id":"blog: cheatsheet"},{"id":"tag: vim"}]}},{"node":{"id":"86","title":"Windows CMD Cheatsheet","path":"/post/win-cmd-cht/","summary":null,"createdAt":"2020-04-18T04:49:03.000Z","lastEditedAt":"2020-07-01T12:54:54.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}}]}}},"context":{}} | ||
{"hash":"gridsome","data":{"label":{"id":"blog: cheatsheet","name":"cheatsheet","type":"blog","belongsTo":{"edges":[{"node":{"id":"77","title":"换源集合","path":"/post/pkg-source/","summary":"\n<p>各种换源,我要的都在这里了。针对天朝就不用国际语言了 <g-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f604.png\">😄</g-emoji></p>\n","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-06-30T06:47:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"81","title":"Linux (Ubuntu) Cheatsheet","path":"/post/linux-cht/","summary":"\n<p>Useful commands and tips about system operation. Things more about scripting is in <a href=\"https://allanchain.github.io/blog/post/bash\" rel=\"nofollow\">Bash Cheatsheet</a></p>\n","createdAt":"2020-04-18T04:48:27.000Z","lastEditedAt":"2020-06-30T06:59:29.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"82","title":"Bash Cheatsheet","path":"/post/bash-cht/","summary":null,"createdAt":"2020-04-18T04:48:39.000Z","lastEditedAt":"2020-06-30T06:59:32.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"83","title":"FFmpeg Cheatsheet","path":"/post/ffmpeg-cht/","summary":null,"createdAt":"2020-03-21T23:56:57.000Z","lastEditedAt":"2020-06-30T09:14:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"84","title":"Markdown Cheatsheet","path":"/post/markdown-cht/","summary":"\n<p>Tricks which are less known to markdown starters</p>\n","createdAt":"2020-04-18T04:48:51.000Z","lastEditedAt":"2020-07-17T15:18:28.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"85","title":"Vim Cheatsheet","path":"/post/vim-cht/","summary":null,"createdAt":"2020-04-18T04:48:56.000Z","lastEditedAt":"2020-07-01T13:01:11.000Z","image":null,"labels":[{"id":"blog: cheatsheet"},{"id":"tag: vim"}]}},{"node":{"id":"86","title":"Windows CMD Cheatsheet","path":"/post/win-cmd-cht/","summary":null,"createdAt":"2020-04-18T04:49:03.000Z","lastEditedAt":"2020-07-01T12:54:54.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}}]}}},"context":{}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"hash":"gridsome","data":{"post":{"id":"84","title":"Markdown Cheatsheet","summary":"\n<p>Tricks which are less known to markdown starters</p>\n","body":"\n<h2>\n <a id=\"article-escaping-\" class=\"anchor-hover\" href=\"#escaping-\">\n #</a> Escaping <code>`</code></h2>\n<p>The general principle is, escape <code>`</code> with more <code>`</code>s.</p>\n<p>For example, if you want to escape a single <code>`</code>, just wrap it with two on each side, and add spaces, that is, <code>`` ` ``</code>.</p>\n<p>If you want to escape three back quotes in a code block, use 4 for the code fence:</p>\n<pre><code>````\n```python\nprint('hello')\n```\n````\n</code></pre>\n<p>Produces:</p>\n<pre><code>```python\nprint('hello')\n```\n</code></pre>\n<h2>\n <a id=\"article-awesome-dropdown\" class=\"anchor-hover\" href=\"#awesome-dropdown\">\n #</a> Awesome Dropdown!</h2>\n<details open=\"\">\n<summary>Write Markdown!</summary>\n\n<p><strong>Python</strong> <em>Code</em></p>\n<div class=\"highlight highlight-source-python\"><div class=\"code-lang\">python</div><pre><code><span class=\"pl-k\">from</span> __future__ <span class=\"pl-k\">import</span> <span class=\"pl-s1\">print_function</span>\n<span class=\"pl-en\">print</span>(<span class=\"pl-s\">'Hello world!'</span>)</code></pre></div>\n</details>\n<details open=\"\">\n<summary>Raw code</summary>\n<div class=\"highlight highlight-text-html-basic\"><div class=\"code-lang\">html-basic</div><pre><code><span class=\"pl-kos\"><</span><span class=\"pl-ent\">details</span> <span class=\"pl-c1\">open</span><span class=\"pl-kos\">></span>\n<span class=\"pl-kos\"><</span><span class=\"pl-ent\">summary</span><span class=\"pl-kos\">></span>Write Markdown!<span class=\"pl-kos\"></</span><span class=\"pl-ent\">summary</span><span class=\"pl-kos\">></span>\n<span class=\"pl-c\"><!--All you need is a blank line--></span>\n\n**Python** *Code*\n````python\nfrom __future__ import print_function\nprint('Hello world!')\n```\n<span class=\"pl-kos\"></</span><span class=\"pl-ent\">details</span><span class=\"pl-kos\">></span></code></pre></div>\n</details>\n<p>Reference: <a rel=\"nofollow\" href=\"https://github.github.com/gfm/#html-block\">https://github.github.com/gfm/#html-block</a></p>\n<p>The trick is, the blank line terminates the html block</p>","createdAt":"2020-04-18T04:48:51.000Z","lastEditedAt":"2020-06-30T06:58:26.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},"context":{}} | ||
{"hash":"gridsome","data":{"post":{"id":"84","title":"Markdown Cheatsheet","summary":"\n<p>Tricks which are less known to markdown starters</p>\n","body":"\n<h2>\n <a id=\"article-escaping-\" class=\"anchor-hover\" href=\"#escaping-\">\n #</a> Escaping <code>`</code></h2>\n<p>The general principle is, escape <code>`</code> with more <code>`</code>s.</p>\n<p>For example, if you want to escape a single <code>`</code>, just wrap it with two on each side, and add spaces, that is, <code>`` ` ``</code>.</p>\n<p>If you want to escape three back quotes in a code block, use 4 for the code fence:</p>\n<pre><code>````\n```python\nprint('hello')\n```\n````\n</code></pre>\n<p>Produces:</p>\n<pre><code>```python\nprint('hello')\n```\n</code></pre>\n<h2>\n <a id=\"article-awesome-dropdown\" class=\"anchor-hover\" href=\"#awesome-dropdown\">\n #</a> Awesome Dropdown!</h2>\n<details open=\"\">\n<summary>Write Markdown!</summary>\n\n<p><strong>Python</strong> <em>Code</em></p>\n<div class=\"highlight highlight-source-python\"><div class=\"code-lang\">python</div><pre><code><span class=\"pl-k\">from</span> __future__ <span class=\"pl-k\">import</span> <span class=\"pl-s1\">print_function</span>\n<span class=\"pl-en\">print</span>(<span class=\"pl-s\">'Hello world!'</span>)</code></pre></div>\n</details>\n<details open=\"\">\n<summary>Raw code</summary>\n<div class=\"highlight highlight-text-html-basic\"><div class=\"code-lang\">html-basic</div><pre><code><span class=\"pl-kos\"><</span><span class=\"pl-ent\">details</span> <span class=\"pl-c1\">open</span><span class=\"pl-kos\">></span>\n<span class=\"pl-kos\"><</span><span class=\"pl-ent\">summary</span><span class=\"pl-kos\">></span>Write Markdown!<span class=\"pl-kos\"></</span><span class=\"pl-ent\">summary</span><span class=\"pl-kos\">></span>\n<span class=\"pl-c\"><!--All you need is a blank line--></span>\n\n**Python** *Code*\n````python\nfrom __future__ import print_function\nprint('Hello world!')\n```\n<span class=\"pl-kos\"></</span><span class=\"pl-ent\">details</span><span class=\"pl-kos\">></span></code></pre></div>\n</details>\n<p>Reference: <a rel=\"nofollow\" href=\"https://github.github.com/gfm/#html-block\">https://github.github.com/gfm/#html-block</a></p>\n<p>The trick is, the blank line terminates the html block</p>\n<h2>\n <a id=\"article-center-a-image-in-gfm\" class=\"anchor-hover\" href=\"#center-a-image-in-gfm\">\n #</a> Center a Image in GFM</h2>\n<p>Use HTML tag <code>p</code> with <code>align</code> to wrap <code>img</code></p>\n<div class=\"highlight highlight-text-html-basic\"><div class=\"code-lang\">html-basic</div><pre><code><span class=\"pl-kos\"><</span><span class=\"pl-ent\">p</span> <span class=\"pl-c1\">align</span>=\"<span class=\"pl-s\">center</span>\"<span class=\"pl-kos\">></span>\n <span class=\"pl-kos\"><</span><span class=\"pl-ent\">img</span> <span class=\"pl-c1\">src</span>=\"<span class=\"pl-s\">https://github.com/favicon.ico</span>\"<span class=\"pl-kos\">></span>\n<span class=\"pl-kos\"></</span><span class=\"pl-ent\">p</span><span class=\"pl-kos\">></span></code></pre></div>\n<p align=\"center\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/favicon.ico\"><img src=\"https://github.com/favicon.ico\" style=\"max-width:100%;\"></a></p>","createdAt":"2020-04-18T04:48:51.000Z","lastEditedAt":"2020-07-17T15:18:28.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},"context":{}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.