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

Add support for bold headings #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ismailcherri
Copy link

Hi!

We have a GitHub bot that displays a certain pull request message. In this message we have a bold heading, thus in GitHub integration for Slack, the message appears without being bold with double asterisks on both ends

image

This PR adds a rule that deals with this case. It just returns the content of the strong element if it is a direct child of a heading; thus avoiding the double asterisks.
I also added a condition for the <b/> tag. I'm not entirely sure if it is needed but suggestions are of course welcome.

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.

1 participant