[TxMt] Re: how to set paths for Textmate.exit_show_html ?
Allan Odgaard
mailinglist at textmate.org
Tue Jun 2 05:29:39 UTC 2009
On 23 May 2009, at 12:35, Piero D'Ancona wrote:
> I have an html file containing
> <img src="dvipsnames.png"/>
>
> The image renders correctly in the browser and also
> in TextMate's builtin preview.
>
> However, if I pipe the same file to Textmate.exit_show_html
> the image does not show.
>
> How should I specify the path to the picture so that
> Textmate.exit_show_html can find it?
Either using <base href="file:///path/where/image/is"> or using an
absolute path in the <img> tag.
Note: you need 10.4.11+ and latest TM for ‘file:’ to work, if older,
use ‘tm-file:’.
More information about the textmate
mailing list