Add source code to pages


June 01, 2021

You can now add source code to your pages. Source code highlighting is done automatically to make your code easier to read. It looks like this:
To add source code to your page, edit the content of your page. Add a block and select "Source code" in the Add content dialog. Enter your source code in the Code block.
Owlstown uses the awesome Javascript library, highlight.js, to detect the language of the code and to highlight the code, accordingly. highlight.js is the same library used by Stack Overflow to do source code highlighting.

Visit external page

Greetings from Owlstown!

Owlstown is a website builder especially designed for academics. You can create and maintain a beautiful academic website quickly and easily. Start your academic website and see what you've been missing.