clojure-emacs / cider-nrepl

A collection of nREPL middleware to enhance Clojure editors with common functionality like definition lookup, code completion, etc.
https://docs.cider.mx/cider-nrepl
670 stars 175 forks source link

cider-doc: understand http links #867

Open vemv opened 2 months ago

vemv commented 2 months ago

It would be nice if links were parsed, nicely rendered and clickable, honoring commonly-used formats.

Sample specimen:

image
bbatsov commented 1 month ago

Why is this something that should be done on cider-nrepl's side? I'm guessing it has to do more with what the clients are doing with the markdown they receive.

vemv commented 1 month ago

I haven't dived into it but it depends - docstrings are expressed in disparate formats, so a best-effort parser would seem simplest to implement cider-nrepl side.