Sign in

Please add support for the blank target Markdown code which many CMS support

  • This topic has 2 replies, 3 voices, and was last updated 3 weeks, 4 days ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5587
    NitaaiKumar
    [link](url){:target="_blank"}

    Please support the above simple Markdown code which many static-file CMSes support. It is very useful if we want to add links to the clean Markdown editor (in which I always write in) which open in a new blank tab, without having to change the global target for all the links on our Publii sites. Thanks.

    #5591
    Tomasz Dziuda

    Hi,

    If you need to use custom attributes in a link just use a HTML for them:

    link

    To be honest I see this syntax for the first time, and it seems to be a non-standard one. I cannot find it on even on https://www.markdownguide.org/extended-syntax

    So at this moment we won’t add it, especially due fact that it will need changes in the markdown editor and parser. In the marked parser this syntax concept seems to be ignored by authors: https://github.com/markedjs/marked/issues/655

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #5592
    cumlaude

    To be honest I see this syntax for the first time, and it seems to be a non-standard one. I cannot find it on even on https://www.markdownguide.org/extended-syntax

    That syntax is Kramdown. https://kramdown.gettalong.org/

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.