Creating code examples
The procedure in this topic assumes Skribenta is installed and configured for normal operation, and:
-
You have logged into Skribenta.
-
You are assigned to one of the following user roles: content provider, technical writer or administrator.
-
You have selected the workspace you want to work in.
-
A content file or a configuration file is created in the workspace.
-
You have browsed to and opened the file in the Workspace view or the Publications view.
You need to create a code example showing indented code using multiple spaces.
It is possible to create code examples. A code example is represented in Skribenta by a wrapper element with a class attribute set to code. Text in in the code wrapper is using a monotype font and can be indented using multiple spaces.
This instruction tells you how to create a code example.
This is the content before creating a code example:
This is the content after creating a code example:
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
Open the file, then create a code example with indented code using multiple spaces.
1 minute
Procedure
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
1. Make sure that the step(s) in section "Starting point" (see section "Background" above) are performed.
A wrapper list opens.
4. In the wrapper list, select Code.
In a code wrapper, the text can be indented using multiple spaces.