r-lib / downlit

Syntax Highlighting and Automatic Linking
https://downlit.r-lib.org
Other
90 stars 22 forks source link

Add a markdown option to auto-link? #16

Closed maelle closed 4 years ago

maelle commented 4 years ago

In a blog post I'd like to e.g. use downlit::autolink("magick::channel_types") in text and get a Markdown link. Could autolink gain an argument helping to do that or should I write my own helper?

maelle commented 4 years ago

Argh that was stupid, the linking happens automatically for inline code too. :woman_facepalming: