在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):profcase/working-with-markdown开源软件地址(OpenSource Url):https://github.com/profcase/working-with-markdown开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):Working with Markdown
LinksGetting Started
GitHub PagesWhile viewing your new repository in GitHub, click the repo Settings icon (looks like a gear). Scroll down to GitHub Pages Section and change the drop down from "none" to "master branch" and click "Save". Scroll back down to see the URL of your published site. Copy this URL and put it in the Webpage link in the first section under the title as shown above. Editing README.mdYou can edit README.md online by clicking on the file name and then the pencil icon OR you can install a text editor like VS Code. If you use VS Code, the following extensions may be helpful:
Title and Section HeadingsThe first line will be the title and the only first-level heading in your document. Use a single hash to indicate the title and two hashes before each section heading. Adding LinksLinks are easy. Put the display name in square brackets first, and without leaving any spaces, put the URL in parentheses as shown in the links section above. If desired, include an image title within the parenthesis after your URL. Put the title in double quotes after your URL and leave a space between URL and title. Ordered and Unordered ListsLists are easy. Put each list item on its own line, and separate each list with an empty line above and below. For an ordered list, preface each item with a 1. and leave a space as shown above. For an unordered list, preface each item with a dash and space as shown above. Formatting CodeCode should be fenced using three backtics ` on the line above and the line below your code. After the opening backtics, put the syntax type, e.g. JavaScript or DOS (for Windows terminal commands) or Bash (for Git Bash commands). dir Displaying ImagesIt can be a bit challenging to find the correct URL for each image. Generally, store your embedded images in your repo if they are original, or reference the hosted location for the image if already available on the web. Images look like links with an ! in front, for example, an external image can be displayed as shown below. If desired, use a title as we did with links above. The URL must be to the image itself, so look for URLs that end with an image file extension, e.g., jpg, png, ico). Displaying Local ImagesYou can also upload an image into your repo. To get the correct URL, upload the image to your repo. Then click on the image file in the repo. Get the URL of the image itself, and change blob to raw. As noted by win93:
ParagraphsLines directly below one another will wrap into a single paragraph. Just as this sentence is merged onto the line with the sentence before. If you don't want text to flow together, leave a blank line between items you wish visually separated as done with the name and email address at the end of this document. Use the Preview mentioned below to check appearance before you commit your changes. Preview ChangesIf editing online in GitHub, scroll up to the top of the edit box, and click "Preview Changes" to see what your file will look like when displayed as a webpage. Learn MoreLearn more by checking out Mastering Markdown and other resources. AboutDenise Case |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论