emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] something in between @@html:@@ and html blocks


From: Rasmus
Subject: Re: [O] something in between @@html:@@ and html blocks
Date: Fri, 04 Dec 2015 16:58:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

John Kitchin <address@hidden> writes:

> I have an intermediate use case that isn't covered by html snippets or
> blocks, and I wondered if there is a solution to it.
>
> What I want is to put a large tooltip on a link in html output. The text
> for the tooltip is too large to fit on one line in a @@html:@@ snippet,
> and if I put it in an html block it adds line breaks in the html export.
>
> Is there a regular way to avoid this, e.g. to insert a large snippet?

How about a custom link type?  I thought that’s general solution to life,
the universe and everything ;)

If a lot of the width is due to html cruft you might be able to shorten
redundant parts via a macro, but I’m sure you thought about that...  You
can also add more snippets, one after the other:

     @@html:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@@
     @@html:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@@

Another hackish solutions would be to use a filter + footnotes with a
recognizable pattern, but I’m not sure I would go that way...

I doubt this help, but those were my 2 cents.

Rasmus

-- 
However beautiful the theory, you should occasionally look at the evidence




reply via email to

[Prev in Thread] Current Thread [Next in Thread]