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];

Alt
2.
At this point, you can get the downloaded .md file

Alt
·

2. Export CSDN articles as HTML files

1. Click the [Export] button ---- select [Export as HTML file];

Alt
2. After selecting the appropriate export template, click [OK];

Alt
3. The download is complete and the HTML file is obtained;

Alt
4. As shown in the figure below, it is the obtained HTML file;

Alt

·

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;

Alt
2.
Alt
In the code editing area of ​​the opened .md file, right-click and click [Open side preview];

Alt
At this point, you can get the following interface:
Alt
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;

Alt
4. This is the current resulting .pdf file.
Alt
End O(∩_∩)O
Sahua♪( *)

Guess you like

Origin blog.csdn.net/weixin_48820458/article/details/128018853