docs/assets/app.js
function beautifyCode(str) {
    var beautifulStr = str;

    try {
        beautifulStr = (0, _jsBeautify.html)(str, beautifySettings);
    } catch (err) {
        console.error('Beautify error:', err.message);
    }

    return beautifulStr;
}
function beautifyCode(str) {
    var beautifulStr = str;

    try {
        beautifulStr = (0, _jsBeautify.html)(str, beautifySettings);
    } catch (err) {
        console.error('Beautify error:', err.message);
    }

    return beautifulStr;
}
function beautifyCode ( str ) { var beautifulStr = str ; try { beautifulStr = ( 0 , _jsBeautify . html ) ( str , beautifySettings ) ; } catch ( err ) { console . error ( 'Beautify error:' , err . message ) ; } return beautifulStr ; }
Try to beautify a HTML or JSX string using js-beautify;
return original string if unsuccessful
@param  {String} str - a string containing HTML or JSX
@return {String}
Try to beautify a HTML or JSX string using js - beautify ; return original string if unsuccessful