yifeiyin / BACKPACK

Yifei's blog, coding notes, environment setup and settings, etc.
0 stars 0 forks source link

Markdown #1

Open yifeiyin opened 6 years ago

yifeiyin commented 6 years ago

Jumping within a markdown file elegantly

Solution: Use html tags

USAGE:

[Jump To Chapter 2](#chapter-2)

### <a id="chapter-2"/> Chapter 2

-OR-

<a id="chapter-2"></a> 
### Chapter 2

RESULT:

Jump To Chapter 2

Chapter 1

GitHub Inc. is a web-based hosting service for version control using Git. It is mostly used for computer code. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.[3]
GitHub offers plans for both private repositories and free accounts[4] which are commonly used to host open-source software projects.[5] As of June 2018, GitHub reports having over 28 million users[6] and 57 million repositories[7] (including 28 million public repositories.[8]), making it the largest host of source code in the world.[9]
GitHub is mostly used for code.

In addition to source code, GitHub supports the following formats and features:

  • Documentation, including automatically rendered README files in a variety of Markdown-like file formats (see README files on GitHub)
  • Issue tracking (including feature requests) with labels, milestones, assignees and a search engine
  • Wikis
  • Pull requests with code review and comments
  • Commits history
  • Graphs: pulse, contributors, commits, code frequency, punch card, network, members
  • Integrations Directory[56]
  • Unified and split diffs
  • Email notifications
  • Option to subscribe someone to notifications by @ mentioning them.[57]
  • Emojis[58]
  • GitHub Pages: small websites can be hosted from public repositories on GitHub. The URL format is https://username.github.io.[59]
  • Nested task-lists within files
  • Visualization of geospatial data
  • 3D render files that can be previewed using a new integrated STL file viewer that displays the files on a "3D canvas".[60] The viewer is powered by WebGL and Three.js.
  • Photoshop's native PSD format can be previewed and compared to previous versions of the same file.
  • PDF document viewer
  • Security Alerts of known Common Vulnerabilities and Exposures in different packages

Chapter 2

GitHub Inc. is a web-based hosting service for version control using Git. It is mostly used for computer code. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.[3]
GitHub offers plans for both private repositories and free accounts[4] which are commonly used to host open-source software projects.[5] As of June 2018, GitHub reports having over 28 million users[6] and 57 million repositories[7] (including 28 million public repositories.[8]), making it the largest host of source code in the world.[9]
GitHub is mostly used for code.

In addition to source code, GitHub supports the following formats and features:

yifeiyin commented 5 years ago

Make a newline in Markdown

在行尾添加两个空格是换行不另起一段。 例如:

zaihangweitianjialiangge konggeshihuanhangbulingqiyiduan

对比: zaihangweitianjialiangge konggeshihuanhangbulingqiyiduan

在不同的环境下,渲染效果不一样。。。比如 GitHub Issues 😅