Linux 软件免费装
Banner图

Hydra Doc Importer

开发者 extascorp
更新时间 2026年11月12日 10:32
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

pdf import markdown word docx

下载

1.0.0

详情介绍:

Hydra Doc Importer imports a Word (.docx) or text PDF file into WordPress as a draft post or page made of standard Gutenberg blocks, and exports any post or page to Markdown. Use it when your content already lives in documents and you are tired of pasting from Word and fixing the formatting by hand. Typical uses Import features Markdown export features Privacy Your documents are processed on your own server and are never sent anywhere. The plugin stores only a small _hydradoc_source post meta with the original file name. The only external service is the optional Freemius opt-in described under External services. More about the project: https://hackthehydra.com/ Limits Please read these before importing important content.

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate it.
  3. Go to Tools > Hydra Doc Importer, choose one or several .docx or PDF files and click "Import as draft".

屏幕截图:

  • A Word document imported as blocks in the block editor, with the Hydra Doc Importer sidebar.
  • Posts list: a "Markdown" link under every title.

升级注意事项:

1.1.0 Adds an optional Freemius opt-in screen (can be skipped) and the Pro upgrade page. 1.0.0 First release.

常见问题:

How do I import a Word document into WordPress?

Go to Tools > Hydra Doc Importer, choose your .docx file and click "Import as draft". You are taken to a new draft made of Gutenberg blocks. You can also use the Hydra Doc Importer sidebar in the block editor to import a file into the post you are editing.

Does it keep images and tables from my Word file?

Yes. Tables become Table blocks. Images are added to the Media Library and inserted as Image blocks, with their alt text when the document has one. Footnotes, text boxes, headers and footers are ignored.

Does it work with the block editor (Gutenberg)?

Yes. The result is made only of core blocks (Paragraph, Heading, List, Table, Image, Quote), and the editor has a Hydra Doc Importer sidebar. It does not create custom blocks.

Can I import several files at once?

Yes. Select several .docx or PDF files in the file field. Each file becomes its own draft.

Can I import a PDF?

Yes, if it has a text layer (you can select the text in a PDF reader). The text is rebuilt as paragraphs, headings and lists, but a PDF only stores where each line sits on the page, so headings and lists are guessed. PDF tables and images are not imported.

Does it work with scanned PDFs?

No. A scanned PDF has no text layer and would need OCR, which this plugin does not do. It is refused with a clear message.

Does it upload my file to a third party?

No. Your file is never uploaded anywhere. It is processed on your own server.

How do I export a post to Markdown?

In the Posts or Pages list, click the "Markdown" link under the title. In the block editor, open the Hydra Doc Importer sidebar and click the download button, or copy the Markdown. The file starts with a small front matter (title, date, URL).

Does the Markdown export include images?

Yes, as Markdown image links to your Media Library files. The image files themselves are not put in the .md file.

The headings of my PDF are wrong.

PDF files only store where each line is on the page. The plugin guesses headings from the spacing, so a PDF with an unusual layout may need a quick manual fix.

Which blocks are created?

Only WordPress core blocks: Paragraph, Heading, List, Table, Image and Quote.

Who can import and export?

Users who can edit posts and upload files can import. Exporting needs the right to edit the post.

What is the maximum file size?

20 MB, or your server upload limit if it is smaller.

更新日志:

1.1.0 1.0.0