slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.21k stars 216 forks source link

Support basic Markdown formatting #519

Closed nbgoodall closed 4 months ago

nbgoodall commented 4 months ago

This PR adds basic support for Slack's markdown formatting, specifically bold, strikethrough and links. Non-supported features like headings and tables are left as-is.

Closes #249.

dangerpr-bot commented 4 months ago
1 Error
:no_entry_sign: Please put back the * Your contribution here. line into CHANGELOG.md.

Generated by :no_entry_sign: Danger

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9805256502

Details


Files with Coverage Reduction New Missed Lines %
spec/slack/real_time/concurrency/clients/async_spec.rb 1 87.5%
spec/slack/real_time/concurrency/with_concurrency_spec.rb 1 80.0%
lib/slack/web/api/errors/too_many_requests_error.rb 3 72.73%
spec/slack/slack_spec.rb 5 88.37%
lib/slack/web/pagination/cursor.rb 5 83.33%
spec/slack/web/api/pagination/cursor_spec.rb 5 88.89%
spec/slack/web/api/endpoints/custom_specs/chat_spec.rb 19 77.65%
lib/slack/real_time/concurrency/async.rb 28 1.39%
<!-- Total: 67 -->
Totals Coverage Status
Change from base Build 9781149632: -1.2%
Covered Lines: 5039
Relevant Lines: 5725

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9805349158

Details


Files with Coverage Reduction New Missed Lines %
lib/slack/real_time/concurrency/async.rb 28 1.39%
<!-- Total: 28 -->
Totals Coverage Status
Change from base Build 9781149632: -0.05%
Covered Lines: 5105
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9805349158

Details


Files with Coverage Reduction New Missed Lines %
lib/slack/real_time/concurrency/async.rb 28 1.39%
<!-- Total: 28 -->
Totals Coverage Status
Change from base Build 9781149632: -0.05%
Covered Lines: 5105
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9805349158

Details


Files with Coverage Reduction New Missed Lines %
lib/slack/real_time/concurrency/async.rb 28 1.39%
<!-- Total: 28 -->
Totals Coverage Status
Change from base Build 9781149632: 0.02%
Covered Lines: 5113
Relevant Lines: 5728

💛 - Coveralls