A simple RAML to Wiki (Confluence / JIRA Markup) documentation generator, written for Node.js.
Output can be pasted into Confluence, using the Insert Markup feature;
npm i -g raml2wiki
raml2wiki example.raml > example.txt
raml2wiki -i example.raml -o example.txt
raml2wiki -s -i example.raml -o example.txt
You can add the -p flag in order to use an alternative template where resources are in collapsed panels, as per the below image;
This script uses the parsing method and raml2obj script by Kevin Renskers (https://github.com/raml2html/raml2obj)