Export CSDN articles to .md, HTML, pdf format
1. Export CSDN articles as .md files
1. Open a CSDN article, click the [Export] button above ---- select [Export as a markdown file];
2.
At this point, you can get the downloaded .md file
·
2. Export CSDN articles as HTML files
1. Click the [Export] button ---- select [Export as HTML file];
2. After selecting the appropriate export template, click [OK];
3. The download is complete and the HTML file is obtained;
4. As shown in the figure below, it is the obtained HTML file;
·
3. Convert the .md file to pdf format
(ps: See the first article for how to install VSCode)
1. Install the plug-ins [Markdown Preview Enhanced] and [Markdown PDF] in VSCode; after the installation is complete, restart VSCode;
2.
In the code editing area of the opened .md file, right-click and click [Open side preview];
At this point, you can get the following interface:
3. Perform format conversion:
In the graphic version of the md file that appears in the preview window on the right, click [Right] and a check menu will appear, select [chrome]—[PDF] ;It can generate .pdf files in the current directory;
4. This is the current resulting .pdf file.
End O(∩_∩)O
Sahua♪( ∇ *)