ex_doc
ex_doc copied to clipboard
Add "Edit Documentation" link
Extracted from https://github.com/elixir-lang/ex_doc/pull/1818#issuecomment-1822395188.
I think we have all the ingredients:
-
GitHub code edit links may contain line numbers, notice the editor cursor is at line 3: https://github.com/elixir-lang/ex_doc/edit/main/lib/ex_doc/markdown.ex#L3
-
Remix has a suitable icon: https://remixicon.com/icon/edit-line
Here is a mockup:
WDYT?