MessageML is a markup language used by the Symphony Agent API for representing messages, including formatting (bold, italic, numbered and unnumbered lists etc.) and entity data representing structured objects.
As a bot developer, I want to set the langage attribute from my \ block, so that the code I is highlighted correctly according to the programming language I am sending
MessageML example:
<messageML>
<code langage="java">
public void someMethod(String someAttribute) {
System.out.println("This is a code block");
System.out.println("Value of Attribute:" + someAttribute);
}
</code>
</messageML>
PresentationML result:
<div data-format="PresentationML" data-version="2.0">
<code data-langage="java">
public void someMethod(String someAttribute) {
System.out.println("This is a code block");
System.out.println("Value of Attribute:" + someAttribute);
}
</code>
</div>
MessageML example:
PresentationML result:
For now the list of supported langages is:
We need to check the langage key.