Source Codes Template Component

Inline part to embed source code of the program, html and xml formatted files.


In order to preview the source code part, open it with Primitive Template editor page, and select the page to preview in the parameter setting dialog.

The appearance of the source code part is below.

Source Codes Preview

Design Setting

The design of the source code part consists of Html, Javascript and Style Sheet.


The html code of source code part is below.

This part uses codemirror. After output the html, the javascript activates the codemirror.


The javascript to activate the code mirror is below.

Style Sheet

The style sheet for the html above is below.

Server side program

The server side program of the source code part is below.

Go to Top