md file:
First of all, let's popularize what is an md file. The full name of md is markdown, and markdown is also a markup language.
type command
Suppose there are two ASCII
files: a.txt
the content is mountains and rivers ; b.txt
the content is unity .
Execute the command to b.txt
splice the content of a.txt
the above, and you can see a.txt
that the content has become 山河统一
:
D:\>type a.txt
山河
D:\>type b.txt
统一
D:\>type b.txt >> a.txt
D:\>type a.txt
山河统一
D:\>type b.txt
统一
and so on
Merge steps:
Put the md files that need to be spliced into a folder
-
Open the command interface:
Windows+R
enter cmd -
Enter the location of the md file:
cd+文件夹路径 如D:\data\mds
-
Then enter the command: drive letter: such as D:
-
Output the splicing result to the res.md file in the specified path
type *.md > 指定路径/mds.md
-
[Do not specify the folder where the md file you want to synthesize is located, otherwise there will be infinite mergers, pay attention! ! 】
- No need to create mds.md empty file in advance
- The splicing order of the md file needs to be manually adjusted (ascending, just like the following)
1.md
2.md
3.md