free
0 0  votes

Doc2md

Convert your formatted documents to Markdown or HTML.

Compatible products

ONLYOFFICE Workspace

ONLYOFFICE Workspace Enterprise

ONLYOFFICE Docs Enterprise

ONLYOFFICE Docs Developer

ONLYOFFICE Desktop Editors

ONLYOFFICE Personal

ONLYOFFICE Cloud

Compatible products

ONLYOFFICE Workspace

ONLYOFFICE Workspace Enterprise

ONLYOFFICE Docs Enterprise

ONLYOFFICE Docs Developer

ONLYOFFICE Desktop Editors

ONLYOFFICE Personal

ONLYOFFICE Cloud

Convert your formatted documents to Markdown or HTML.

free
0 0  votes

Compatible products

ONLYOFFICE Workspace

ONLYOFFICE Workspace Enterprise

ONLYOFFICE Docs Enterprise

ONLYOFFICE Docs Developer

ONLYOFFICE Desktop Editors

ONLYOFFICE Personal

ONLYOFFICE Cloud

Install now

Overview

Convert your formatted document to Markdown or HTML.

The plugin uses Docs to Markdown add-on.

Options


  • Demote headings (H1 → H2, etc.): If you have used multiple Heading 1 headings in your Doc, choose this option to demote all heading levels to conform with the following standard: single H1 as title, H2 as top-level heading in the text body.
  • HTML headings/IDs: Not all Markdown renderers handle Markdown-style IDs. If that is the case for your target platform, choose this option to generate HTML headings and IDs.
  • Create base64 images: Select this option if you want images to be created in base64 format.
  • Render HTML tags: By default, angle brackets (<) will be replaced by the < entity. If you really want to embed HTML tags in your Markdown, select this option to preserve them. Or, if you just want to use an occasional HTML tag, you can escape the opening angle bracket like this: <tag>text</tag>.
  • Suppress top comment: Removes the informational comment at the top of the output. Warnings and errors that result from the conversion will still be part of the output.

How to use

  • Find the plugin on the Plugins tab and click it.
  • Use the Markdown or HTML buttons in the sidebar window to convert your document to either Markdown or HTML.
  • If you select part of the document, Docs to Markdown will convert only the selection. Otherwise, it will convert the entire document.

How to install

For desktop editors

  • Archive the plugin files (it must contain config.json, index.html, and pluginCode.js).
  • Change the file extension to .plugin.
  • Go to the Plugins tab, click Manage Plugins >> Add plugin, browse for the .plugin file.

For server solutions

Put the folder with the plugin code to ONLYOFFICE Document Server folder:

  • For Linux - /var/www/onlyoffice/documentserver/sdkjs-plugins/.
  • For Windows - %ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\.

For the cloud version

Turn your plugin into a browser extension. Currently, it works for Chrome users only.