You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd really like to have this in my own documentation - oftentimes, I want to check the source of something, but when I click the source link, it opens in the same tab, closing the documentation. This leads to some (admittedly slight) annoyance with having to recover my place or remember to manually open it in a new tab.
I had attempted to work around this by appending to my source-uri property, as such:
Exception in thread "main" java.net.URISyntaxException: Illegal character in fragment at index 82
If there's another workaround for this, please let me know; however, I would still like to submit this as a feature request regardless. It'd be nice to have a simple, standard way to do this.
The text was updated successfully, but these errors were encountered:
I'm unfamiliar with how those work, exactly, could you give an example of how I might do that? From a quick glance at the section you linked, it seems like I can only really modify the entire tag, and it doesn't appear that I can access the original with :substitute or the like.
It looks like it isn't currently possible, since Enlive doesn't have a syntax for attributes without using functions. Of course, one could use this to add in Javascript that does the job, but it would probably be better to have an option for this.
I think a :source-link-target key in the :html map would be the best way of handling it.
I'd really like to have this in my own documentation - oftentimes, I want to check the source of something, but when I click the source link, it opens in the same tab, closing the documentation. This leads to some (admittedly slight) annoyance with having to recover my place or remember to manually open it in a new tab.
I had attempted to work around this by appending to my
source-uri
property, as such::source-uri "http://source/link/here\" target=\"_blank\""
However, this results in the following error:
If there's another workaround for this, please let me know; however, I would still like to submit this as a feature request regardless. It'd be nice to have a simple, standard way to do this.
The text was updated successfully, but these errors were encountered: