Code Monkey home page Code Monkey logo

docco-plus-multiline's Introduction

docco-plus-multiline

docco-plus-multiline is forked docco-plus with support multiline comments and comments on the same line as the code. docco-plus is an extension to docco with support for multiple folders and same file name with different extensions.

How to use

Installation and Setup

Install docco-plus-multiline globally using the command

sudo npm install -g docco-plus-multiline

Usage

docco-plus-multiline [options] FILES

FILES can be a list of files or a glob pattern. When passing glob pattern make sure that they are enclosed by quotes.

Languages file example

{
...

".js": {
        "name": "javascript",
        "inlineComment": "//",
        "multiLineCommentStart": "/*",
        "multiLineCommentEnd": "*/",
        "removeMultiLineSpecial": [" * ", "*\r", "*\n"]
    }

...
}

Use the header language file to support the multiline comment in languages ​​other than js, html, css and scss

Options:

Options available for docco-plus-multiline are listed below, These options do the same thing as docco options. In fact, they are passed as-is to the docco processor. Refer the Docco documentation on more details about these options.

  • -h or --help output usage information

  • -V or --version output the version number

  • -c [file] or --css [file] use a custom css file

  • -h [string] or --highlightStyle [string] use a highlightjs theme style. Styles are detailed here

  • -o [path] or --output [path] use a custom output path

  • -L [file] or --languages [file] use a custom languages.json

  • -t [path] or --template [path] use a custom jst template file

  • -m [file] or --marked [file] use custom marked options

  • -i [file] or --index [file] the file to be documented as the landing file for the documentation

docco-plus-multiline's People

Contributors

giano avatar pranavjha avatar smravi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.