You need to enclose your code between ```bash and ```. Below is the answer of your case.
```bash plantuml -tsvg activityDiagrams ```