It is a reasonable solution to use the embedded editor of Joomla! to highlight any code on an article. With simply one click on Joomla's TinyMCE Editor, it allows you to insert any highlighted code from any programing languages into a Joomla! Article.
Here goes some sample Python codes,
import love from me love1 = love.joomla() for i in range(5): print("No. " + str(i) + str(love1))
# This is a comment i = 100 while True: i -= 1 print(i) if i < 50: break # This is the end of the code
1. The Raspberry Pi should be able to read data from this blog post to light on the I/O LEDs of the Raspberry Pi Board.
LED_DATA: "1, 1, 1, 1, 1, 0, 1, 0"
The LEDs should be lighted according to the data shown above.
2. The Python program on the Raspberry Pi should immediately terminated whenever "LED_EXIT" is set to "1".