Readme. md quick layout and line feed in GitHubThe readme. md written in Linux is really ugly after it is pushed. No line breaks. I found a readme. md on the Internet, but it is not that convenient and hard to understand. If it is a long readme. md, you cannot add many manual line breaks. Now I think of it. The tool for obtaining the function is the notepad function in the 163 mailbox application. You can convert the WYSIWYG text into the source code of HTML. Write the prepared readme. MD directly paste it into notepad and click "" to convert it to the source code of HTML, so that it can copy and paste it to readme. MD pushes again, and you can see that the display is normal. Below is an example:
Such text:
Usage: mkheader-l Image
-L ==> list image header information
Mkheader [-x]-A arch-O OS-T type-C comp-A ADDR-e EP-N name-D data_file [: data_file...] Image
-A ==> set architecture to 'arch'
-O => Set Operating System to 'OS'
-T => set image type to 'type'
-C ==> set compression type 'comp'
-A ==> Set Load address to 'addr '(HEX) 30008000
-E ==> set burn address to 'addr '(HEX) bootloader-> 0x0 kernel-> 0x60000 rootfs-> 0x560000
-N => set image type bootloader-> 'boot' kernel-> 'kern' rootfs-> 'root'
-D => Use Image Data from 'datafile'
-X ==> set xip (execute in place)
The direct display is as follows:
Put it in the notepad of mailbox 163:
Click "" to generate HTML. (You may not understand this text, but GitHub recognizes it .)
Then paste the previous display:
You can use the same csdn blog.