qqzsxyz / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 0 forks source link

Image thumbnail links display style information in addition to image alt text #285

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an image thumbnail link like:
[[local:pictures/chase_accident/van_right_side.jpg][{{local:pictures/chase_accid
ent/van_right_side.jpg}{Van Right Side}{width:100px; padding: 20px; display: 
inline;}}]]

What is the expected output? What do you see instead?
I'd expect to see: Van Right Side
Instead it looks like:  Van Right Side~width:100px; padding: 20px; display: 
inline;

What version of the product are you using? On what operating system?
Dev version parent: 440:9df3e392ffd2 tip

Please provide any additional information below.

Awesome job on the file, relative path and interwiki links!!

Thanks,
Scott

Original issue reported on code.google.com by firecat4...@gmail.com on 7 Mar 2012 at 4:23

GoogleCodeExporter commented 8 years ago
Is it about html output?

Original comment by habamax on 11 Mar 2012 at 5:23

GoogleCodeExporter commented 8 years ago
This is about concealed links.

What we are supposed to show if alternate text is empty? We shouldn't conceal a 
link then.

Original comment by habamax on 11 Mar 2012 at 6:25

GoogleCodeExporter commented 8 years ago

Original comment by habamax on 14 Mar 2012 at 9:48

GoogleCodeExporter commented 8 years ago
Thanks, works great! Hmmm...not sure what to do about no alternate text, except 
perhaps show the basename of the filename (van_right_side.jpg from my example 
above).

Scott

Original comment by firecat4...@gmail.com on 15 Mar 2012 at 6:29