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 #520

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.

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9805619158

Details


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 9805619158

Details


Totals Coverage Status
Change from base Build 9781149632: 0.02%
Covered Lines: 5113
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9805619158

Details


Totals Coverage Status
Change from base Build 9781149632: 0.02%
Covered Lines: 5113
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9807505910

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 9807505910

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
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9807537521

Details


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 9807537521

Details


Totals Coverage Status
Change from base Build 9781149632: 0.02%
Covered Lines: 5113
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9807568584

Details


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 9807568584

Details


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 9807568584

Details


Totals Coverage Status
Change from base Build 9781149632: 0.02%
Covered Lines: 5113
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9807589987

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 9807589987

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
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9807618263

Details


Files with Coverage Reduction New Missed Lines %
spec/slack/real_time/concurrency/clients/async_spec.rb 1 87.5%
lib/slack/real_time/concurrency/async.rb 28 1.39%
<!-- Total: 29 -->
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 9807618263

Details


Files with Coverage Reduction New Missed Lines %
spec/slack/real_time/concurrency/clients/async_spec.rb 1 87.5%
lib/slack/real_time/concurrency/async.rb 28 1.39%
<!-- Total: 29 -->
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 9807618263

Details


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

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817655606

Details


Files with Coverage Reduction New Missed Lines %
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%
<!-- Total: 37 -->
Totals Coverage Status
Change from base Build 9814232578: -1.2%
Covered Lines: 5038
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817659879

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5105
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817659879

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5105
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817659879

Details


Totals Coverage Status
Change from base Build 9814232578: 0.03%
Covered Lines: 5114
Relevant Lines: 5729

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817665635

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5105
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817665635

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5105
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817665635

Details


Totals Coverage Status
Change from base Build 9814232578: 0.03%
Covered Lines: 5114
Relevant Lines: 5729

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817723933

Details


Totals Coverage Status
Change from base Build 9814232578: -0.5%
Covered Lines: 5077
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817723933

Details


Totals Coverage Status
Change from base Build 9814232578: -0.5%
Covered Lines: 5077
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817723933

Details


Totals Coverage Status
Change from base Build 9814232578: -0.5%
Covered Lines: 5077
Relevant Lines: 5724

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817723933

Details


Totals Coverage Status
Change from base Build 9814232578: 0.03%
Covered Lines: 5114
Relevant Lines: 5729

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817723933

Details


Totals Coverage Status
Change from base Build 9814232578: 0.03%
Covered Lines: 5114
Relevant Lines: 5729

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817894444

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5107
Relevant Lines: 5726

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817894444

Details


Totals Coverage Status
Change from base Build 9814232578: 0.03%
Covered Lines: 5116
Relevant Lines: 5731

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817894444

Details


Totals Coverage Status
Change from base Build 9814232578: 0.03%
Covered Lines: 5116
Relevant Lines: 5731

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: 0.03%
Covered Lines: 5118
Relevant Lines: 5733

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9817945060

Details


Totals Coverage Status
Change from base Build 9814232578: -0.05%
Covered Lines: 5109
Relevant Lines: 5728

💛 - Coveralls