bigfoot icon indicating copy to clipboard operation
bigfoot copied to clipboard

Question on implementing buttonMarkup

Open ajacinto opened this issue 5 years ago • 0 comments

Thanks for this awesome plugin. I just had a question about the documentation for buttonMarkup.

I've been trying to get the numeric style like how it's rendered in the demo, so I was trying to set the buttonMarkup settings, but I can't understand how the value of {{SUP:attr}} is acquired and how I should define this in options.

If this is my footnote: <sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>

What value should I use for buttonMarkup below?

var bigfoot = $.bigfoot( { deleteOnUnhover: true, preventPageScroll: false, hoverDelay: 250, activateOnHover: true, buttonMarkup: ? } );

Thanks! The PayPal donation link also wasn't working btw. I owe you a coffee. :)

ajacinto avatar Mar 20 '20 08:03 ajacinto