Sometimes the routing path is too long so I want the path to display in multiple lines for readability.
I know the normally a multiple line string is written like this:
var str = 'hello \
world \
hi;
However, this doesn't work in express.js routing.
router.route('/:hello/ \
:world/ \
:hi').get(...);
But this works:
router.route('/:hello/:world/:hi').get(...);
Any ideas?