This is a small script written in javascript to convert a link to a pattern example with a code block.
Install the node dependencies.
npm install
Start by transpiling the the js with babel.
npm run build
Then run the local server with the following command.
npm start
Open a browser and access http://localhost:8082
You can view the testing page at http://127.0.0.1:8082/testing/
If you find you fix a problem please add an example to it for quick testing.