Skip to content
المشاريع

zhouhua/obsidian-export-image

عرض على GitHub

حول

Easily convert your article to image.

التصميم والوسائط

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • 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.

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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

  • Camera Export any article as an image, with the option to save it as a local image file or copy it to the clipboard.
  • Locked with Pen Support adding watermarks, both text and image watermarks, to protect your copyrights.
  • Identification Card Support adding author information (avatar, name, etc.) for easier sharing and dissemination.
  • Mobile Phone Support outputting images at twice the resolution for clearer display on high PPI devices like smartphones.
  • Straight Ruler 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.
  • Level Slider Offer flexible configuration options with a convenient WYSIWYG (What You See Is What You Get) interface.
  • Bookmark Tabs Support exporting selected content as an image.
  • Card Index Dividers Support for batch exporting all notes in a folder as images.
  • Receipt Support displaying obsidian metadata.
  • Yo-Yo 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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…