Test Page

/home/matt/Git This is the explanation bit

This is the bit that displays the file itself
Multiple lines
of text.

Next I shall try an experiment. Lets see if a file box can go inside a warning highlight box.

Warning

Nesting the file box appears to work.

/home/matt/Git This is the explanation bit

This is the bit that displays the file itself
Multiple lines
of text.

/home/matt/Git This is the explanation bit

Python Highlight Example
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env python
# sercom_mon.py - Serial Monitor Script
"""
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

import serial
ser = serial.Serial('/dev/ttyUSB0',9600)

def main():
while True:
while(ser.inWaiting() > 0):
print(ser.readline().rstrip())

if \__name_\_ == "__main__":
# Someone is launching this directly
main()

# This is a long line of text to test the code highlighting plugin. This is a long line of text to test the code highlighting plugin.This is a long line of text to test the code highlighting plugin.This is a long line of text to test the code highlighting plugin.

/home/matt/Git This is the explanation bit

Python Highlight Example
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env python
# sercom_mon.py - Serial Monitor Script
"""
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

import serial
ser = serial.Serial('/dev/ttyUSB0',9600)

def main():
while True:
while(ser.inWaiting() > 0):
print(ser.readline().rstrip())

if \__name_\_ == "__main__":
# Someone is launching this directly
main()

# This is a long line of text to test the code highlighting plugin. This is a long line of text to test the code highlighting plugin.This is a long line of text to test the code highlighting plugin.This is a long line of text to test the code highlighting plugin.
Fedora Workstation