Is there a multiline tooltip solution available for review? Currently using a data-tooltip method that loads content via attr(data-tooltip), which as I understand limits the input to string only and thus outputs a single line.
I have a tw static table of values with a tooltip for each with the underlying details (4 variables) of the values to display.
I’m unsure what exactly your method is, but dictionary tiddlers seem to respect <br> as tested with the following (tooltip styling from W3 with increased width):
Interestingly, it also looks like macros can be successfully passed via dictionary tids, as I got <<.lorem 2>> to make a huge tooltip with a line break.
I belive the simple tooltip is just the matching html “title” attribute.
<div title="this is the tooltip">
content
</div>
My previous experience is this kind of tooltip does not allow multiple lines
However there are a range of ways to create popups which are multiline and even allow wikitext, which appear identical to the user but do allow multiline content.
For example There are a fews solution in tiddlywiki that allow you to preview the content of a tiddler in a popup.
You make a field for each label that contains the help information. This can have html and simple wikitext. Since it is a field linebreaks need to be added using html <br> tags.