When adding an implicit reference link via markdown-insert-link
, the existing reference link names should be enumerated when entering the text.
Let's say my file looks like this (where the |
is the cursor):
Here's another [website](http://foo.example.org).
See my | for more details.
[homepage]: https://www.example.org/homepage.html
M-x markdown-insert-link
.URL or [reference]:
. I hit Tab and am offered a list of completions, which contains the following:
[homepage]
http://foo.example.org
https://www.example.org/homepage.html
Link text:
. I hit Tab and am offered only one completion, homepage
.hom
, hit Tab, and homepage
is filled for me.Here's another [website](http://foo.example.org).
See my [homepage][]| for more details.
[homepage]: https://www.example.org/homepage.html
Actual Behavior
Starting with the same file as above:
Here's another [website](http://foo.example.org).
See my | for more details.
[homepage]: https://www.example.org/homepage.html
M-x markdown-insert-link
.URL or [reference]:
. I hit Tab and am offered a list of completions, which contains the following:
[homepage]
http://foo.example.org
https://www.example.org/homepage.html
Link text:
. I hit Tab.I guess I got ahead of myself. See the Actual Behavior section.
BacktraceNo error is produced.
Software VersionsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4