Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.21 KB

code.md

File metadata and controls

47 lines (31 loc) · 1.21 KB
title description published date tags editor
Code
Editor
true
2020-06-09 21:58:10 UTC
editors
markdown

Overview

The Code editor is a basic raw HTML editor.

It's generaly not recommended to use this editor to write new content. This editor is provided as a convenience to import existing content from older systems which is only available in raw HTML. {.is-warning}

User Guide

Only Wiki.js specific stylings are listed below.

Content Tabs

Tab {.tabset}

Usage

This feature is only available from version 2.4 and up. {.is-info}

Using headers and adding the tabset css class to the parent header. The parent header text will not be shown in the final result.

Note that you can use any header level, as long as the children headers are one level higher. For example, if a parent header is <h3>, the tabs headers must be <h4>. The maximum header level for a parent being <h5> and the children <h6>.

Code Example

<h2 class="tabset">Tabs</h2>

<h3>First Tab</h3>
<p>Any content here will go into the first tab...</p>

<h3>Second Tab</h3>
<p>Any content here will go into the second tab...</p>

<h3>Third Tab</h3>
<p>Any content here will go into the third tab...</p>