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

feat: extract markdown rendering from gh-slack #4

Merged
merged 3 commits into from
Apr 12, 2024
Merged

feat: extract markdown rendering from gh-slack #4

merged 3 commits into from
Apr 12, 2024

Conversation

nobe4
Copy link
Collaborator

@nobe4 nobe4 commented Apr 10, 2024

This extract the markdown conversion code from gh-slack to allow other clients to use it. It specifically focuses on converting an arbitrary string rather than a logical message. This part will be left to the client.

It also makes the conversion more neutral and generic.

Mostly copied from:

cc rneatherway/gh-slack#65

This extract the markdown conversion code from gh-slack to allow other
clients to use it. It specifically focuses on converting an arbitrary
string rather than a logical message. This part will be left to the
client.

It also makes the conversion more neutral and generic.

Mostly copied from:
- https://github.com/rneatherway/gh-slack/blob/main/internal/markdown/markdown.go
- https://github.com/rneatherway/gh-slack/blob/main/internal/markdown/markdown_test.go
@nobe4 nobe4 requested a review from rneatherway April 10, 2024 08:43
nobe4 added a commit to nobe4/gh-slack that referenced this pull request Apr 10, 2024
This is a companion PR that goes with
rneatherway/slack#4 to showcase what changes
will look like in the gh-slack client.

It keeps the code as untouched as possible, and cleans the obsolete
functions/types.
@nobe4 nobe4 self-assigned this Apr 10, 2024
@nobe4 nobe4 merged commit 8ea7ec9 into main Apr 12, 2024
1 check passed
@nobe4 nobe4 deleted the markdown branch April 12, 2024 07:02
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.

None yet

2 participants