Git Product home page Git Product logo

Comments (5)

bicarlsen avatar bicarlsen commented on August 24, 2024

I added this in Release 0.0.9, give it a try and see if it works.

Note that there seems to be a bug in Obsidian in that it does not update the alt text of external embeded images when switching between Preview and Edit mode. I address this issue in the README of the plugin and raised it as an issue on the Obsidian forum.

from obsidian_image_caption.

jdheyburn avatar jdheyburn commented on August 24, 2024

Very cool, thanks for the quick addition.

Would it be possible to have URLs in the caption? I feel the alt text is good to keep too in case the image cannot be loaded, so at least you have a description of what the image was. Captioning adds some context behind the image.

But I think if I did the below in pure markdown, it solves what I want (source).

| ![A picture of a night sky](http://www.storywarren.com/wp-content/uploads/2016/09/space-1.jpg) |
|:----------------------------------------------------------------------------------------------:|
|        *This is a caption of [outer space](https://en.wikipedia.org/wiki/Outer_space)*         | 

Which renders the below. Note I ran into that bug you mentioned, and kindly raised an issue for.

image

Would like to hear your POV before I close this out... thanks again!!

from obsidian_image_caption.

jdheyburn avatar jdheyburn commented on August 24, 2024

Also, not sure if this was a bug introduced in the latest version, but it seems that emojis are now duplicated for some reason when in Preview mode? I am on Obsidian 0.12.19.

## Notes 📝

With Image Caption 0.0.9 enabled:

image

With Image Caption disabled:
image

from obsidian_image_caption.

bicarlsen avatar bicarlsen commented on August 24, 2024

Would it be possible to have URLs in the caption?

Unfortunately Markdown processing isn't available to plugins, and I'm hesitant to start adding in my own processing. This was raised in Issue #2 and I opened a thread in the Obsidian Forum regarding it, but it hasn't gotten any traction.

Note I ran into that bug you mentioned, and kindly raised an issue for.

It appears that the reloading error will be fixed in Obsidian version 0.13.10, so we'll have to wait for that release.

Also, not sure if this was a bug introduced in the latest version, but it seems that emojis are now duplicated for some reason when in Preview mode? I am on Obsidian 0.12.19.

I couldn't reproduce the emoji bug. Can you provide a bit more info on your system (OS, device, etc.) and how you are adding the emoji. If you know how to open the Inspector for Obsidian, it would be useful if you could send me the DOM segment with the emoji, and any related errors from the console. (If what I said didn't make any sense, just ignore it, or I'm happy to walk you through the steps if you want as well.)

from obsidian_image_caption.

bicarlsen avatar bicarlsen commented on August 24, 2024

With the release of Obsidian 0.13.14, the issues regarding updating captions of external images has been resolved.

from obsidian_image_caption.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.