Skip to content

Where I can find the documentation on how to install and start to use it? #7

@pangjac

Description

@pangjac

Hey,
I am new into CS and have little idea about npm and node.js, I tried to read the code but still not know how to use it.

This is my book.json file:
{
"gitbook": "2.x.x",
"plugins": [
"katex",
"include-codeblock",
"image-captions",
"search",
"codesnippet",
"katex",
"highlight"
],
"pluginsConfig": {
"include-codeblock": {
"unindent": true
}
}
}

however, after I enable "highlight", I still don't know how to start using it. For example if I had a code block like this:

int main(){
    cout << "Hello world" << endl;
    return 0;
}
and I want to highlight "return 0", how can I do that?

Thanks...!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions