sindresorhus/refined-github

Rich Text Editor HTML Shortcuts #3628

yakov116 posted onGitHub

image

Currently when you click on the above links it puts in markdown things (sorry for the lack of better name).

I would like if alt is pressed it should do the equivalent in HTML

My use case: https://github.com/sindresorhus/refined-github/pull/3621 I am using a HTML table and need to put links that need to be surrounded by <a href="LINK">LINK</a> VS [LINK](Link)


What for?

posted by fregante over 4 years ago

https://github.com/webpack/webpack/pull/11438 => <a href="https://github.com/webpack/webpack/pull/11438"></a>

Instead of https://github.com/webpack/webpack/pull/11438 => [](https://github.com/webpack/webpack/pull/11438)

posted by yakov116 over 4 years ago

Right but why use HTML when Markdown links work just as well?

posted by fregante over 4 years ago

@fregante the issue is that markdown links were not working for me in a table. Thats why I switched to html.

Also on such a big table working with markdown is almost impossible.

posted by yakov116 over 4 years ago

markdown links were not working for me in a table

Add linebreaks after <td>.

<table><td>

Markdown link

</table>


<table><td>

[Markdown link](#link)

</table>
posted by fregante over 4 years ago

It seems unnecessary and could lead to a slipper slope. I don't want to have to reconstruct every button to print HTML just because it's not supported by a table.

On a related note, I think https://github.com/sindresorhus/refined-github/issues/2176 would be super useful to autocomplete feature names and link to our features.

posted by fregante over 4 years ago

It seems unnecessary and could lead to a slipper slope.

Agree

posted by yakov116 over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests