-
Notifications
You must be signed in to change notification settings - Fork 21
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
Move markdown to slack
module
#64
Comments
Sure, that seems to make sense. I thought it might be a bit awkward because of the username cache but it looks like there is already an interface covering that part. I'm not quite sure what you mean by |
Currently your code does I only wished slack didn't have its own version of markdown, feels unnecessarily convoluted. |
Here you go:
This does only the |
Both PRs LGTM, feel free to merge when ready. As an FYI, a couple of thoughts that I had that are relevant here:
|
🙏 🎉
|
I was thinking more of reading rather than writing. That is, when downloading Slack messages to convert them to github-flavoured markdown use the blocks as input rather than |
Perfectly happy to accept the inverse function as well if you'd like to add that. |
For now I'll not do that, so I'll close the ticket :) |
I think that https://github.com/rneatherway/gh-slack/tree/main/internal/markdown would be better suited to live in https://github.com/rneatherway/slack and maybe having a
markdown => slack-markdown
function as well.This would allow other clients to format markdown based on the code you've already written :)
What do you think?
If that's acceptable I'll PR that :)
The text was updated successfully, but these errors were encountered: