Export to HTML
approvedby kalvn
Export your Markdown notes as HTML, directly in the clipboard or as a file.
Export to HTML for Obsidian
This Obsidian community plugin allows you to export the content of a note as HTML, either to the clipboard or to a new HTML file.
During the export, images will be copied over in base 64 format.
This plugin is a work in progress but it already works great in most cases. Some edge cases with inline image exports will be improved.
Obsidian mobile apps are not yet supported.
Installation
Follow the steps below to install Obsidian Export to HTML.
- Search for Export to HTML in Obsidian's community plugins browser
- Enable the plugin in your Obsidian settings (find Export to HTML under Community plugins).
- (Optional) If you plan to use it often, in the Hotkeys settings, search for Export to HTML and bind actions to keyboard shortcuts.
How to use
Open the command palette (press CTRL+P if you use a keyboard) and type Export to HTML.
- Select Export to HTML: Copy to clipboard as HTML to copy your note as HTML in your clipboard. You can then paste it in an email or in a Word document and the style will be kept.
- Select Export to HTML: Download as HTML to download your note as an HTML file.
Manual installation
- Download the latest release and unzip it.
- Copy over
main.js,manifest.jsonto your vaultVaultFolder/.obsidian/plugins/export-to-html/.
How to contribute
- Clone this repo.
- Make sure you use Node version 16 or above (
node --version). npm installto install dependencies.npm run devto start compilation in watch mode.
External packages used
- Starter template: Obsidian sample plugin
- CSS: Github Markdown CSS
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.