First word is ignored in code snippet when using @evalbot run
Steps to Reproduce:
- Add Evalbot to slack using Add to Slack on this page
- Invite Evalbot to a channel
- Type the following
@evalbot run java ```class Main { public static void main(String[] args) { System.out.println("test"); }}```
Expected: It outputs "test"
Actual:

As you can see, it seems to throw out the word "class"
A workaround was to add either a word or newline immediately after the triple backticks. For example the following produces the expected output from above:
run java ```ignored_word class Main { public static void main(String[] args) { System.out.println("test"); }}```
I think that's actually how markdown ``` works. The first thing is the language https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting
I'm talking about when you specify the language outside of it as the following image suggests:
It doesn't make sense to have to specify the language twice.
i see your point, but it just assumes correct markdown in all cases. Here is what you can do instead
@evalbot ```python print 'hello'```
actually this might only work in private dm with evalbot