Using @startmath/@endmath, we can create standalone AsciiMath formula.
asciiMath.txt
@startmath sum_(i=1)^n i^3=((n(n+1))/2)^2 @endmath
Above Snippet Generate below diagram.
You can even combine ascii math with uml diagrams using
asciiMathHelloWord.txt
@startuml client --> server: please solve : server --> client: send the response client --> server : solve this too : server --> client: send the response @enduml
Above snippet generate below diagram.
This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here