Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Markdown] Add schemes settings for link #2794

Merged
merged 7 commits into from Apr 7, 2016
Merged

[Markdown] Add schemes settings for link #2794

merged 7 commits into from Apr 7, 2016

Conversation

ghost
Copy link

@ghost ghost commented Apr 6, 2016

@RocketChat/core

Closes #2656
Add public: true for settings.

Add schemes settings. (Default: http,https)

Markdown settings

@rodrigok
Copy link
Member

rodrigok commented Apr 6, 2016

Hi @nishimaki10, I fixed the setting problem and the missing style in this PR #2797

Can you move your translates into files at rocketchat-lib/i18n/? We removed all i18n files of our packages to centralize the translations.

@ghost
Copy link
Author

ghost commented Apr 7, 2016

@rodrigok I moved translates, and merged latest develop branch. Thanks.

@rodrigok
Copy link
Member

rodrigok commented Apr 7, 2016

@nishimaki10 Awesome 😄

@rodrigok
Copy link
Member

rodrigok commented Apr 7, 2016

LGTM

1 similar comment
@engelgabriel
Copy link
Member

LGTM

@engelgabriel engelgabriel merged commit 508c900 into RocketChat:develop Apr 7, 2016

# Support [Text](http://link)
msg = msg.replace(/\[([^\]]+)\]\((https?:\/\/[^\)]+)\)/gm, '<a href="$2" target="_blank">$1</a>')
msg = msg.replace(new RegExp("\\[([^\\]]+)\\]\\(((?:#{schemes}):\\/\\/[^\\)]+)\\)", 'gm'), '<a href="$2" target="_blank">$1</a>')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

;)

@ghost ghost deleted the markdown-link-scheme branch September 5, 2017 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Markdown Headers do not work
2 participants