facebookarchive/atom-ide-ui

Datatip source code links

Open

#183 创建于 2018年3月6日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (937 star) (110 fork)batch import
datatipshelp wanted

描述

Description

I have put a source link in the markdown contents of a datatip. Namely the Atom Core URL to open a file in Atom editor given its path: [This is a link](atom://core/open/file?filename=<path to file>) Atom Core links went in with #15935. I have also opened the same issue against core Atom #16888 I'm not exactly sure which package is responsible for this to work...

The problem is that ATom URL handlers are not supported in MD datatip/hover or any rendered MD

Expected Behavior

Should invoke Atom URL handler for atom:// URL

Actual Behavior

Nothing happens. Expects a http:// protocol which is handled by opening external browser

Versions

  • Atom: 1.25-beta2 and all predecessors
  • Client OS: Mac OSX
  • atom-ide-ui: 0.9.2

Additional Details

Looking for directions... What to look at if I am to provide a patch for this

贡献者指南