use prism-tomorrow.css
This commit is contained in:
22
docs/_style/prism-master/examples/prism-c.html
Normal file
22
docs/_style/prism-master/examples/prism-c.html
Normal file
@ -0,0 +1,22 @@
|
||||
<h2>Strings</h2>
|
||||
<pre><code>"foo \"bar\" baz"
|
||||
'foo \'bar\' baz'
|
||||
"Multi-line strings ending with a \
|
||||
are supported too."</code></pre>
|
||||
|
||||
<h2>Macro statements</h2>
|
||||
<pre><code># include <stdio.h>
|
||||
#define PG_locked 0
|
||||
#define PG_error 1
|
||||
</code></pre>
|
||||
|
||||
<h2>Full example</h2>
|
||||
<pre><code>#include <stdio.h>
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int c;
|
||||
printf("Number of command line arguments passed: %d\n", argc);
|
||||
for ( c = 0 ; c < argc ; c++)
|
||||
printf("%d. Command line argument passed is %s\n", c+1, argv[c]);
|
||||
return 0;
|
||||
}</code></pre>
|
Reference in New Issue
Block a user