-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target Blank #158
Comments
Unfortunately that's not possible right now, because Parsedown, the Markdown parser Pico uses, isn't capable of doing so. |
Thank you @PhrozenByte I found that "parsedown-extra-plugin" may offer such function, do you think it can be added to Pico ? Upstream discussion: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! 👍 |
Sorry for reviving an old thread! I have just come across it and was wondering why this cannot be circumvented by specifying the link as HTML in the Markdown like The link is shown but does not behave as hoped. Is this expected behavior? If so, is there any reason not to adapt it? |
@sm8ps HTMLPurifier doesn't allow this by default. However, |
Great, thanks! I think this will be much appreciated by many users. |
Any news on this? Where can this be added to the whitelist? Thanks a lot! |
First of all, thank you for this great add-on to Nextcloud !
I'm trying to set some links with target blank to open them in new tabs/new windows.
I found some answer about how to handle it in Markdown, but it doesn't seem to work with CMS Pico in Nextcloud:
https://stackoverflow.com/questions/4425198/can-i-create-links-with-target-blank-in-markdown
I did try
[text](url){:target="_blank"}
as suggested in the link above, however it ignores what's after the url and shows it as text.The text was updated successfully, but these errors were encountered: