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

did you consider adding support for markdown #67

Closed
derberg opened this issue Jan 11, 2021 · 4 comments · Fixed by #162
Closed

did you consider adding support for markdown #67

derberg opened this issue Jan 11, 2021 · 4 comments · Fixed by #162
Labels
enhancement New feature or request

Comments

@derberg
Copy link

derberg commented Jan 11, 2021

At the moment, to get a beautiful markdown in slack, I need to convert input first with this action https://github.com/LoveToKnow/slackify-markdown-action. My input message looks like [${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}} so I really cannot manually make it "slack" compatible as I do not have control over issue body.

but it looks like it is a simple as adding https://github.com/jsarafajr/slackify-markdown and enabling someone to specify if they want to slackify markdown in message or not.

@mrrobot47 mrrobot47 added the enhancement New feature or request label Jan 12, 2021
@mrrobot47
Copy link
Member

Hey @derberg, that is a great suggestion. We will add native support to slackify the markdown in SLACK_MESSAGE if an env var like say SLACKIFY_MARKDOWN is set to true with the help of https://github.com/jsarafajr/slackify-markdown

PRs are welcome for this enhancement. Otherwise, I will later pick this up. But that may take some time as my schedule is packed as of now.

@derberg
Copy link
Author

derberg commented Jan 12, 2021

@mrrobot47 yeah, sorry but go is not on my list of skills 😄 and I've already set a workaround https://github.com/asyncapi/.github/pull/18/files#diff-1ee55436eb74158dd30293540d530e66f2179cc688feb6c365f90977bdad5d8cR20-R31 that for now is fine for me. I just wanted to drop an idea as I've spent a lot of time reviewing different slack related actions, and this action was the best one after all

@elahmo
Copy link

elahmo commented Feb 16, 2022

@mrrobot47 and updates about this?

@L0RD-ZER0
Copy link
Collaborator

Support for Markdown has been added by using slackify-markdown-action as suggested by the OP. Use SLACKIFY_MARKDOWN="true" to enable markdown to slack-formatting conversion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants