PlantUml converts simple text to diagrams.
For example from Sublime Text. You can learn about integrations here.
Source code can be browsed here.
There’s been no recent contribution to the source forge project but from the administrator arnaud_roques. Future contribution might be difficult due to lacking code documentation.