asciidoctor/asciidoctor-intellij-plugin

Suggest link reference on links

Ouverte

#308 ouverte le 31 juil. 2019

 (3 commentaires) (0 réaction) (0 personne assignée)Java (155 forks)auto 404
enhancementhelp wanted

Métriques du dépôt

Stars
 (392 étoiles)
Métriques de merge PR
 (Merge moyen 4j 11h) (3 PRs mergées en 30 j)

Description

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 :

Guide contributeur