dtao / autodoc

Doc generation on steroids
https://npmjs.org/package/autodoc
MIT License
232 stars 15 forks source link

No indentation in generated documentation #57

Open deje1011 opened 8 years ago

deje1011 commented 8 years ago

Given the following example:


/*
    @example
    var foo = {
        bar : 'baz'
    };
*/

There is no indentation at all in the output, which would make the examples much easier to read :)

pietersv commented 7 years ago

Indentations appear to work if the leading asterisks are present

/**
 *   @example
 *    var foo = {
 *        bar : 'baz'
 *    };
*/