File tree 6 files changed +49
-1
lines changed
6 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Ox CNC
2
2
3
3
Test
4
+
5
+ ``` python
6
+ @requires_authorization
7
+ def somefunc (param1 = ' ' , param2 = 0 ):
8
+ r ''' A docstring'''
9
+ if param1 > param2: # interesting
10
+ print ' Gre\' ater'
11
+ return (param2 - param1 + 1 + 0b10l ) or None
12
+
13
+ class SomeClass :
14
+ pass
15
+
16
+ >> > message = ''' interpreter
17
+ ... prompt'''
18
+ ```
19
+
20
+
21
+ ``` python
22
+ for page in pages:
23
+ page.read()
24
+ ```
25
+
26
+ ``` csharp
27
+ using System ;
28
+
29
+ namespace HelloWorld
30
+ {
31
+ class Program
32
+ {
33
+ static void Main (string [] args )
34
+ {
35
+ Console .WriteLine (" Hello World!" );
36
+ }
37
+ }
38
+ }
39
+ ```
Original file line number Diff line number Diff line change
1
+ hljs . initHighlighting ( )
Original file line number Diff line number Diff line change @@ -3,8 +3,19 @@ site_url: https://docs.hacman.org.uk
3
3
repo_url : https://github.com/HACManchester/documentation/
4
4
theme :
5
5
name : material
6
- custom_dir : ' custom/ theme'
6
+ custom_dir : ' theme'
7
7
plugins :
8
8
- search
9
9
- mdoctag
10
10
- emailprotect
11
+ markdown_extensions :
12
+ - pymdownx.highlight :
13
+ use_pygments : false
14
+
15
+ extra_javascript :
16
+ # HighlightJS for coloring in code blocks - https://highlightjs.org/static/demo/
17
+ - https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/highlight.min.js
18
+ - js/hljs/config.js
19
+ extra_css :
20
+ # HighlightJS for coloring in code blocks - https://highlightjs.org/static/demo/
21
+ - https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/styles/atelier-dune-light.min.css
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments