asciidoctor/asciidoctor-intellij-plugin

Suggest link reference on links

開放

#308 建立於 2019年7月31日

 (3 則留言) (0 個反應) (0 位負責人)Java (155 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (392 顆星)
PR 合併指標
 (平均合併 4天 11小時) (30 天內合併 3 個 PR)

描述

Hi, I'm proposing this enhancement in the plugin. In markdown one can write this :

This is a [Asciidoctor][1].

[1]: http://asciidoctor.org/ "Asciidocotor"

Which is rendered as this

This is a Asciidoctor.

While there's no exact replacement, the document attributes can serve the same purpose, and it is advise by mojavelinux himself ;)

So imagine the following asciidoc

This is a http://asciidoctor.org/[Asciidoctor].

The plugin could suggest, to variabilise the link into a document attribute, maybe propose both of the following forms :

:link-asciidoctor: http://asciidoctor.org/

This is a {link-asciidoctor}[Asciidoctor]
:link-asciidoctor: http://asciidoctor.org/[Asciidoctor]

This is a {link-asciidoctor}

Source :

貢獻者指南