Formatting, mention tools/Jupyter/kernel subdir.

This commit is contained in:
Axel Naumann 2016-04-09 11:27:14 +02:00 committed by sftnight
parent a558c4cf02
commit 177ac81d74

View File

@ -88,16 +88,26 @@ chmod +x cpt.py
Full documentation of CPT can be found in [tools/packaging](https://github.com/root-mirror/cling/tree/master/tools/packaging).
##USAGE
`/some/install/dir/bin/cling '#include <stdio.h>' 'printf("Hello World!\n")'`
To get started run: `/some/install/dir/bin/cling --help`
or type
`/some/install/dir/bin/cling`
`[cling]$ .help`
```c++
/some/install/dir/bin/cling '#include <stdio.h>' 'printf("Hello World!\n")'`
```
To get started run:
```bash
/some/install/dir/bin/cling --help`
```
or type
```
/some/install/dir/bin/cling
[cling]$ .help`
```
## Jupyter
cling comes with a [Jupyter][6] kernel. After building cling, install Jupyter and run ```jupyter kernelspec install cling```. It requires a fairly new Jupyter. Make sure cling is in your PATH when you start jupyter!
See also the [tools/Jupyter/kernel](https://github.com/root-mirror/cling/tree/master/tools/Jupyter/kernel) subdirectory.
[6]: http://jupyter.org
##DEVELOPERS' CORNER