html-to-mrkdwn
html-to-mrkdwn copied to clipboard
Link to code in markdown
If you paste a link to code on GitHub in a comment, the code snippet gets rendered as a table. This should probably just be translated into a link to the file and a code snippet in mrkdwn.

(@izuzak sent me over as this may be the component that needs ❤️ to address things. Let me know if this belongs in another repository.)
Scenario:
- Go to a particular PR and get a permalink to a particular block of code
- Add that permalink as part of a comment on a PR
- The GitHub integration takes that comment and posts it to Slack
- Observe code block formatting lost in translation
GitHub Comment
Slack Post
Linking these as they appear to be related:
- https://github.com/integrations/slack/issues/509
- https://github.com/integrations/slack/issues/52