Skip to content

Instantly share code, notes, and snippets.

@hqshi
Last active December 31, 2021 00:36
Show Gist options
  • Save hqshi/d7b005172e1d1e0f1a4ded79dc68ba22 to your computer and use it in GitHub Desktop.
Save hqshi/d7b005172e1d1e0f1a4ded79dc68ba22 to your computer and use it in GitHub Desktop.
test
home heroImage tagline actionText actionLink features footer
true
/logo.png
测试Tag
开始使用
guide/
title details
简洁
非常滴简单
title details
易于扩展
模块化
title details
高性能
采用异步 I/O
MIT Licensed

Header 1

该文件原文为 GitHub 用于展示 md 文件渲染为 Html 文件的效果,略有删改

格式参考 https://github.github.com/gfm/#link-reference-definitions

This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

layout: default

Text can be bold, italic, or strikethrough.

Link to another page.

There should be whitespace between paragraphs.

There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.

Header 2

This is a blockquote following a header.

When something is important enough, you do it even if the odds are not in your favor.

Header 3

// Javascript code with syntax highlighting.
var fun = function lang(l) {
  dateformat.i18n = require('./lang/' + l);
  return true;
};
# Ruby code with syntax highlighting
GitHubPages::Dependencies.gems.each do |gem, version|
  s.add_dependency(gem, "= #{version}")
end

Header 4

  • This is an unordered list following a header.
  • This is an unordered list following a header.
  • This is an unordered list following a header.
Header 5
  1. This is an ordered list following a header.
  2. This is an ordered list following a header.
  3. This is an ordered list following a header.
Header 6
head1 head two three
ok good swedish fish nice
out of stock good and plenty nice
ok good oreos hmm
ok good zoute drop yumm

There's a horizontal rule below this


Here is an unordered list

  • Item foo
  • Item bar
  • Item baz
  • Item zip

And an ordered list

  1. Item one
  2. Item two
  3. Item three
  4. Item four

And a nested list

  • level 1 item
    • level 2 item
    • level 2 item
      • level 3 item
      • level 3 item
        • level 4 item
          • level 5 item
            • level 6 item
  • level 1 item
    • level 2 item
    • level 2 item
    • level 2 item
  • level 1 item
    • level 2 item
    • level 2 item
  • level 1 item

Small image

Octocat

Large image

Branching

Definition lists can be used with HTML syntax

<dl>
  <dt>Name</dt>
  <dd>Godzilla</dd>
  <dt>Born</dt>
  <dd>1952</dd>
  <dt>Birthplace</dt>
  <dd>Japan</dd>
  <dt>Color</dt>
  <dd>Green</dd>
</dl>
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
The final element.

My Changes

Test [toc] style

[toc]

link-reference-definition

GFM Style

Here is normal link address

Other footer style

Here is footer style link(typora) 1

Custom address variable

This link use 1 as web address variable Google

This link use runoob as web address variable Runoob

variable is assignment below

Reference


Here will show reference list if sopport


Github TODO

  • unfinished
  • finished
    • test
    • test

Unknow Table

! Test Case

Github

autolink

mojombo/github-flavored-markdown@16c999e8c71134401a78d4d46435517b2271d6ac

#1

footer

Here is a simple footnote2.

A footnote can also have multiple lines3.

You can also use words, to fit your writing style more closely4.

Footnotes

  1. My reference.

  2. Every new line should be prefixed with 2 spaces.
    This allows you to have a footnote with multiple lines.

  3. Named footnotes will still render with numbers instead of the text but allow easier identification and linking.
    This footnote also has been made with a different syntax using 4 spaces for new lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment