Mattermost-server: Use CTRL/CMD + Alt + K to insert markdown link formatting

Created on 4 Nov 2020  路  2Comments  路  Source: mattermost/mattermost-server

When a user has text selected in the message composition areas (center pane or right-hand side) and hits CTRL + Alt + K* (Windows) or *CMD + Option + K (Mac) then insert the link markdown formatting around the selected text:

[selected_text]()

Note after using the shortcut, the cursor should be placed inside the round brackets so the user can immediately paste a link.

There was a similar PR done for bold and italics formatting that can be used as reference: https://github.com/mattermost/mattermost-webapp/pull/6230


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-30274

AreEnd User Feature Medium Hacktoberfest Help Wanted TecReactJS

Most helpful comment

@esethna Yup! I will work on this.

All 2 comments

@jp0707 let us know if you're interested in working on this as it's similar to the PR you submitted for bold and italics :) https://github.com/mattermost/mattermost-webapp/pull/6230

@esethna Yup! I will work on this.

Was this page helpful?
0 / 5 - 0 ratings