Inlining code in paragraphs is quite common when writing C++ documentation. We provide a very simple markup for this. For example, this:
This text has inlined code `int main() { return 0; }` in it.
will generate:
This text has inlined code int main() { return 0; }
in it.
The code will be syntax highlighted.
Note | |
---|---|
We simply enclose the code with the tick: |