Replies: 5 comments 2 replies
-
SQLPage uses github flavored markdown. This answer may be a little disappointing, but: you can always open normal links in a new tab with a center mouse click if you want to. You cannot open open |
Beta Was this translation helpful? Give feedback.
-
Thanks for coming back to me. I read the linked article with interest. There are points I hadn't considered, some I agree with, some I don't. That said, I appreciate your reluctance to offer raw html and I support it. Otherwise, please note that github's markdown actually supports html tags. For example, For the moment, I will live without Background: I am building a bookmarks application. Opening links in new tabs looks like a legitimate use case for this context. However, I agree that middle-clicking, Ctrl-clicking, or using similar methods is easy and intuitive enough. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Yes I will, but please keep in mind this is a very modest personal project.
Not even multiuser ;-)
…On Fri, 7 Jun 2024, 07:46 Ophir LOJKINE, ***@***.***> wrote:
I hope you'll present us your bookmark app when it's ready !
—
Reply to this email directly, view it on GitHub
<#379 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGTK5KDJRVJH7QR65MD4Y3ZGFBYLAVCNFSM6AAAAABI4XTLO2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TMOJXGI3TC>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @lyderic . The markdown interpreter still doesn't allow new tab links, but I added a |
Beta Was this translation helpful? Give feedback.
-
Excellent. Many thanks 😊
…On Sun, 9 Jun 2024, 20:44 Ophir LOJKINE, ***@***.***> wrote:
Hi @lyderic <https://github.com/lyderic> . The markdown interpreter still
doesn't allow new tab links, but I added a target row-level property to
the button component to open links in new tabs:
https://sql.ophir.dev/documentation.sql?component=button#component
—
Reply to this email directly, view it on GitHub
<#379 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGTK5LYOX364L3NAGOQXODZGSPCBAVCNFSM6AAAAABI4XTLO2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TOMRQGU2DG>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have some links in a table that'd need to be opened in a new tab when clicked.
This is what I have tried, it doesn't work and I have no other idea:
The embedded HTML is displayed as is:
This works as expected, but it doesn't open links in a new tab:
SQLpage uses markdown-rs to process markdown. This dependency is supposed to be CommonMark compliant and AFAIK, CommonMark supports HTML tags.
I know that I can roll out my own handlebar template, but I'd like to have your ideas/suggestions/hacks to avoid doing that.
L.
Beta Was this translation helpful? Give feedback.
All reactions