Image Title

by Ji
5
4
3
2
1
Score: 50/100

Description

Render image alt text as visible captions in Obsidian reading view.

Reviews

No reviews yet.

Stats

0
stars
63
downloads
0
forks
47
days
47
days
47
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
11
commits

Latest Version

2 months ago

Changelog

Render image alt text as visible captions in Obsidian reading view.

README file from

Github

Image Title

Render image alt text as visible captions in Obsidian reading view.

The text in [] of ![alt text](https://raw.githubusercontent.com/reticenceji/obsidian-image-title/HEAD/image.png) is displayed as a centered caption below or above the image. Position is configurable in settings.

Features

  • Displays image alt text ([]) as visible captions in reading view
  • Configurable caption position: above or below the image
  • Automatically strips Obsidian size parameters (|600, |200x300) from captions
  • Skips images with empty alt text

How to use

  • Clone this repo.
  • Make sure your NodeJS is at least v18 (node --version).
  • npm i to install dependencies.
  • npm run dev to start compilation in watch mode.

Manually installing the plugin

Copy main.js, styles.css, manifest.json to VaultFolder/.obsidian/plugins/image-title/, then enable the plugin in Settings → Community plugins.

Settings

Setting Default Description
Title position Below image Where to show the caption relative to the image

Releasing new releases

  • Update version in manifest.json and entry in versions.json.
  • Create a GitHub release with the version number as tag (no v prefix).
  • Attach manifest.json, main.js, styles.css as binary assets.

API Documentation

See https://docs.obsidian.md