GithubHelp home page GithubHelp logo

markdownsyntax_cn's Introduction

Hello, world!

cianghuan正在尝试在github上配置自己的笔记、备忘、博客、或知识库。文档使用mark down标记写成。该标记语言发明者为John Gruber

你好,世界!

chianghuan is trying to putting his notes/memo/blog/knowledge-repo on github. The docs are written in mark down. The markup is authored by John Gruber.

开始

下面开始将是一堆各种格式排版的文字或图片或链接。纯粹用于我学习、试用和列举mark up的各种标记,并留来方便以后查找。参考资料 markdown:syntax

标题

atx形式的标题标记

#这是一个大号标题
看得出大号标题后的文字段落,末了会有一个华丽的分割线。 ##这是一个次号标题
###这个还更小一点
####可以再小一点
#####还能再小点么
######这是极限了

正文

这个句子和下一个句子在.markdown文件中以换行符号分开了,但结果两个句子还是被放到了同一行,并没有换行:

这个句子, 下一个句子。

以下两个句子,以<br/>标记分开,则两个句子正确换行:

这个句子,
下一个句子。

以下文本中包含了不同的字体格式:*注:此处用*标记代替'强调'失效

这是强调文本
这是__粗体__文本
这又是强调文本
这又是粗体文本

以下文本为多重引文:

这是一段引用的文字

它还引用了其它文字

并且其它文字还引用了其它它文字

还好不是那么容易造成混乱

代码

小段行内代码使用反引号`标记,而大段代码使用缩进tab或四个空格,如:

/* A hello world! */
#include <iostream>
using namespace std;

int main()
{
    //hello, world!
    cout<<"Hello, world!";
    return 0;
}

列表

无序列表

  • 表项1
  • 表项2
  • 表项1
  • 表项2
  • 表项1,第一段

    表项1,第二段

  • 表项2

有序列表

  1. 有数字编号的表项
  2. 有一个有数字编号的表项
  3. 还是有数字编号的表项

引用资源

这是一个链接:

README.markdown

这是另外一种链接标记方式:

README.markdown

这是一张图片:

图片文字

分割线

最后是两条分割线

普通分割线


两条分割线合体



markdownsyntax_cn's People

Contributors

chianghuan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.