Markdown Image Caption
approvedby Hananoshika Yomaru
Generate Markdown-based image captions.
Obsidian Markdown Image Caption
Generate image caption easily. Completely markdown-based. Compatible with obsidian publish and any markdown editor.
demo: https://www.youtube.com/watch?v=dee_OzcibLI
[!CAUTION] This plugin only works with external images. I don't use local image so I have no intention to support. But I am open to PR.
Usage
%% caption  %%
%% lightbox  %%
%% lightbox-{group}  %%
then it will generate <figure> element with a <figcaption> element inside on command generate image caption on current file.
[!TIP] You will want to use this with custom save plugin to generate image caption on save.
How it works?
The plugin will recognise the syntax and then check if there is a figure element below it. If not, it will generate one. If yes, the figure element will be replaced by generated result.
Installation
Obsidian marketplace
You can install it on community plugin store.
Through BRAT
- install the BRAT plugin
- go to the plugin option, add beta plugin, copy and paste the link of this repo
- the plugin will automatically appear in the list of installed community plugins, enabled this plugin
Manual Installation
- cd to
.obsidian/plugins - git clone this repo
cd obsidian-tag-generator && bun install && bun run build- there you go π
Update
- cd to
.obsidian/plugins/obsidian-tag-generator git pullbun install && bun run build- there you go π
Notes
- if you want to contribute, please first open github issue.
- you can style your caption using css
Support
If you are enjoying this plugin then please support my work and enthusiasm by buying me a coffee on https://www.buymeacoffee.com/yomaru.
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.
