mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Documentation: SphinxQuickstartTemplate.rst: add guidelines about highlighting
console sessions and add more highlighter names. llvm-svn: 170011
This commit is contained in:
parent
16c4634483
commit
1bfd53ceb8
@ -107,14 +107,15 @@ You can make blocks of code like this:
|
||||
return 0
|
||||
}
|
||||
|
||||
For a shell session, use a ``bash`` code block:
|
||||
For a shell session, use a ``console`` code block:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ echo "Goodbye cruel world!"
|
||||
$ rm -rf /
|
||||
|
||||
If you need to show LLVM IR use the ``llvm`` code block.
|
||||
If you need to show LLVM IR use the ``llvm`` code block. Code blocks of ``c``,
|
||||
``c++``, ``objc``, ``bash``, ``makefile`` kinds are supported.
|
||||
|
||||
You can show preformatted text without any syntax highlighting like this:
|
||||
|
||||
@ -136,6 +137,8 @@ You can show preformatted text without any syntax highlighting like this:
|
||||
.++:..
|
||||
...
|
||||
|
||||
One can also use a ``none`` code block to turn off highlighting.
|
||||
|
||||
Hopefully you won't need to be this deep
|
||||
""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user