![]() Here’s the markdown we’ll use to create a numbered list: It’d be nice if we could have that done for us automatically! In a markdown file, however, you have to manually type the number prefix for each item. When creating a numbered list in a Google doc, hitting the Enter key after typing your first list item creates the second list item with the 2. Now, let’s show how easy it is to apply these various styles when using the VS Code extension! We can make our text bold using Cmd+B, italic using Cmd+I, and strikethrough using Option/Alt+S.ĭemo for writing bold, italic, and strikethrough text Output for bold, italic, and strikethrough text Markdown for bold, italic, and strikethrough textĪnd here’s what the output looks like when viewing the markdown file: Here’s the markdown we’ll use to apply these styles: It’s not a huge burden to type out these characters, but it’d be really nice if we could just use keyboard shortcuts to format the text in the same way that we can when working with a Google doc. In markdown syntax, you can make your text bold by wrapping your text in **, italic by wrapping your text in _, and strikethrough by wrapping your text in ~~. Finally, we’ll look at creating and modifying tables. Next, we’ll look at writing numbered lists. We’ll first look at simple text formatting like bold, italic, or strikethrough. In this article, we’ll look at some common use cases when writing a markdown file. The SFDocs Markdown Assistant VS Code extension is here to help! ![]() Wouldn’t you like to just use the Cmd+B keyboard shortcut to bold some text instead of typing ** around your text? Or what about creating a nicely formatted table in your README, especially when editing an existing table? Wouldn’t it be nice if the table formatting and column width adjustments were taken care of for us? Markdown is wonderful, but it’s not exactly as easy as working with a Google doc when applying formatting. ![]() ![]() The syntax for markdown is simple enough, but it can be a pain to manually type out, and it’s easy to make simple mistakes and typos. README files are written in markdown, a special markup syntax. This file provides crucial information about what the project is, how to work with it, and other relevant information for developers. Every respectable software project needs a README. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |