Skip to content
Discussion options

You must be logged in to vote

It default positions itself right with some fallback positions:

src/resources/formats/html/templates/quarto-html.ejs

const config = {
            allowHTML: true,
            content: contentFn,
            onShow: (instance) => {
              <% if (codeAnnotations === "select" || codeAnnotations === "hover") { %>selectCodeLines(instance.reference);<% } %>
              instance.reference.classList.add('code-annotation-active');
              window.tippy.hideAll();
            },
            onHide: (instance) => {
              <% if (codeAnnotations === "select" || codeAnnotations === "hover") { %>unselectCodeLines();<% } %>
              instance.reference.classList.remove('code-ann…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@muellerzr
Comment options

Comment options

You must be logged in to vote
11 replies
@muellerzr
Comment options

@muellerzr
Comment options

@muellerzr
Comment options

@dragonstyle
Comment options

Answer selected by muellerzr
@muellerzr
Comment options

@muellerzr
Comment options

@muellerzr
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js)
3 participants