Closed noamross closed 11 years ago
Thanks. Looks like I just need to generate html syntax for the tooltip, and then set data-html="true" http://stackoverflow.com/questions/13704789/can-i-use-complex-html-with-twitter-bootstraps-tooltip
On Mon, Apr 15, 2013 at 4:23 PM, Noam Ross notifications@github.com wrote:
When you hover over a citation, the tooltip appears in markdown format, rather than actual bold/italic formatting. For instance, the text in one tooltip is:
Bel G, Hagberg A and Meron E (2012). Gradual Regime Shifts in Spatially Extended Ecosystems. Theoretical Ecology, 5, pp. 591-604. ISSN 1874-1738, http://dx.doi.org/10.1007/s12080-011-0149-6
— Reply to this email directly or view it on GitHubhttps://github.com/cboettig/labnotebook/issues/90 .
Carl Boettiger UC Santa Cruz http://www.carlboettiger.info/
Tooltips render with plain text. We could get HTML rendering from knitcitations with data-html="true" and filtering the html through a CGI-escape function, but not really worth it just to have volume numbers in bold.
When you hover over a citation, the tooltip appears in markdown format, rather than actual bold/italic formatting. For instance, the text in one tooltip is:
Bel G, Hagberg A and Meron E (2012). Gradual Regime Shifts in Spatially Extended Ecosystems. Theoretical Ecology, 5, pp. 591-604. ISSN 1874-1738, http://dx.doi.org/10.1007/s12080-011-0149-6