Replies: 1 comment
-
|
@allebb I ran into this problem porting a bot from Slack to Campfire, and it turns out that you can send HTML instead of Markdown. I haven't tested every tag, but lists, bold, italic, strikethrough, code and quotes work successfully. Not sure what language you're using, but in my usecase, I've simply passed the existing markdown through marked, and then sent that to Campfire. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering if the ability to style (eg. markdown or textile syntax) is supported in inbound bot messages (it seems not the case)?
I've tried wrapping words with
*in the hope that the specific word might be styled bold and equally using_for italic text, but Campfire simply renders it verbosely. Additionally, I'd love to be able to format a URL so that is has a label/text summary instead of the full URL (hyperlinked) - the Markdown equivalent being:[click here to go to Google](https://google.com).I'm assuming this is possible as I noticed that when I added a bot to Fizzy, Fizzy is able to post a message to my Campfire instance and messages regularly include a hyperlink at the end, which has a custom label/text name as shown here:
I've tried hunting for documentation and Google searches that suggest this is possible, but I'm unable to make it work. I assume that this might only work with an older version (or maybe the Campfire that is baked into BaseCamp only)?
I'd just love to know if I'm missing a trick and if so, if someone could let me know how the HTTP payload would differ from the examples given on the chatbot page (
curl -d 'Hello!' https://mydomain.com/rooms/1/6-Tb8mS7LctbGj/messages), I'd really appreciate it!Campfire ONCE is AWESOME - Thank you, 37Signals, for sharing this with us all!
TIA!
Beta Was this translation helpful? Give feedback.
All reactions