Replies: 4 comments 4 replies
-
I think I saw that adding |
Beta Was this translation helpful? Give feedback.
-
I think the issue is probably that navbar links are explicitly excluded from the find-and-replace here: quarto-cli/src/resources/formats/html/templates/quarto-html.ejs Lines 388 to 389 in 8c2b10d My guess is the assumption when this was written was that these were always internal links, but that no longer applies. So the fix might be as easy as removing the |
Beta Was this translation helpful? Give feedback.
-
Thanks --- I think that works! (tested on a local quarto-cli installation, based on the latest release from the GitHub repo). Perhaps I should send a pull request? |
Beta Was this translation helpful? Give feedback.
-
Done! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is probably a question with a very simple answer, but can I enforce a navbar item to link to an external URL that opens in a new tab?
In other words, I'd like to have
and when the user clicks on the hyperlink under
Some text here
they are taken toSOME_URL
in a new tab.I don't think you can use
markdown
or purehtml
here, to say something likecan you?
Similarly, *without fiddling with the resulting
html
file (ie from the_quarto.yml
directly), can I force- icon
to use non bootstrap icons (and use instead, say,fontawesome
)?I know the answer to both is probably "just replace the text in the resulting
html
, which I can do, but I wondered whether there's something more clever than that?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions