link 的 Atom 片段描述
Atom snippet description with link
有没有办法在摘要描述中制作 link clickable/styled?
我知道 descriptionMoreURL
,但我有兴趣添加第二个 link。
这不起作用:
'.source.js':
'test 1':
'prefix' : 't1'
'body': 't1()'
'description': 'Also works in combination with https://link.com'
这不起作用:
'description': '[Also works in combination with](https://link.com)'
这也行不通:
'description': '<a href="https://link.com">Also works in combination with]</a>'
有谁知道怎么做/有可能吗?
不幸的是,这是不可能的。 description
似乎不支持任何格式。
您可以通过 parameters leftLabelHTML
and rightLabelHTML
添加 HTML,但是如果您单击 link,它会插入片段,这并不理想。
作为参考,这里是基础 autocomplete-plus
suggestion parameters 的文档。
有没有办法在摘要描述中制作 link clickable/styled?
我知道 descriptionMoreURL
,但我有兴趣添加第二个 link。
这不起作用:
'.source.js':
'test 1':
'prefix' : 't1'
'body': 't1()'
'description': 'Also works in combination with https://link.com'
这不起作用:
'description': '[Also works in combination with](https://link.com)'
这也行不通:
'description': '<a href="https://link.com">Also works in combination with]</a>'
有谁知道怎么做/有可能吗?
不幸的是,这是不可能的。 description
似乎不支持任何格式。
您可以通过 parameters leftLabelHTML
and rightLabelHTML
添加 HTML,但是如果您单击 link,它会插入片段,这并不理想。
作为参考,这里是基础 autocomplete-plus
suggestion parameters 的文档。