Export Image plugin

by Zhou Hua
5
4
3
2
1
Score: 60/100

Description

Category: Note Enhancements

The Export Image plugin enables users to export Obsidian notes as images. It provides flexibility in exporting content, including options to add watermarks, author information, and adjust image resolution for high PPI devices. The plugin supports batch exporting, selective content export, and exporting in both preview and read mode. Users can also configure styles via a WYSIWYG interface for fine-tuning their exported images. With additional features like exporting metadata and customizing image widths, this plugin is ideal for anyone needing to share notes as images, whether for presentations or other purposes.

Reviews

No reviews yet.

Stats

207
stars
58,537
downloads
24
forks
1,280
days
390
days
454
days
15
total PRs
4
open PRs
3
closed PRs
8
merged PRs
114
total issues
40
open issues
74
closed issues
125
commits

Latest Version

a year ago

Changelog

image

增加“快速导出选中内容”的选项,开启后导出选中文本为图片时跳过所有的配置过程,直接导出到剪切板。

README file from

Github

obsidian-export-image

Obsidian Export Image Plugin

GitHub Release GitHub Downloads (all assets, all releases)

This Obsidian plugin can easily help you export any article as an image.

Features

  • Export any article as an image, with the option to save it as a local image file or copy it to the clipboard.
  • Support adding watermarks, both text and image watermarks, to protect your copyrights.
  • Support adding author information (avatar, name, etc.) for easier sharing and dissemination.
  • Support outputting images at twice the resolution for clearer display on high PPI devices like smartphones.
  • Support adjusting the image width to cater to different scenarios, such as exporting images suitable for viewing on mobile devices or ensuring readability when embedding images in articles.
  • Offer flexible configuration options with a convenient WYSIWYG (What You See Is What You Get) interface.
  • Support exporting selected content as an image.
  • Support for batch exporting all notes in a folder as images.
  • Support displaying obsidian metadata.
  • Support split long articles into multiple images.

Usage

Use the command export as a image in command palette (Press cmd/ctrl+P to enter the command) to generate a image. You can download it to your file system, or copy to clipboard.

Also, you can access this function from the editor menu:

[!NOTE] Due to device limitations, exporting images on mobile can only be saved to the current vault.

Installation

Obsidian

Search Export Image in community plugins.

Custom Styles

To help experienced users write their own CSS styles, here is the combined DOM structure of the exported image.

<!-- Export Image Root -->
<div class="export-image-root markdown-reading-view">
  <!-- Watermark Container -->
  <div class="markdown-preview-view markdown-rendered export-image-preview-container">
    <!-- Inline Title -->
    <div class="inline-title"></div>
    <!-- Metadata -->
    <div class="metadata-container">
      <div class="metadata-content">
        <!-- Metadata Items -->
        <div class="metadata-property">
          <!-- Metadata Key -->
          <div class="metadata-property-key">
            <!-- Metadata Icon -->
            <span class="metadata-property-icon"></span>
            <!-- Metadata Name -->
            <span class="metadata-property-name"></span>
          </div>
          <!-- Metadata Value -->
          <div class="metadata-property-value"></div>
        </div>
      </div>
    </div>
    
    <!-- Note Content -->
    <div>...</div>
  </div>
  
  <!-- Author Info -->
  <div class="user-info-container">
    <!-- Author Avatar -->
    <div class="user-info-avatar"></div>
    <div>
      <!-- Author Name -->
      <div class="user-info-name"></div>
      <!-- Extra Info -->
      <div class="user-info-remark"></div>
    </div>
  </div>
</div>

Star History

Special Thanks

My Other Obsidian Plugins