Skip to main content

Command Samples

Writeopia handles many text commands that create new content from what the user types. In this section you will learn the built-in commands, to change and add more commands.

Checkbox

Typing the command -[] creates a checkbox in the place of current message.

checkbox sample

It triggers Writeopia.changeStoryType with StoryType of a checkbox item.

List item

Typing the command - creates a list item in the place of current message.

list item sample

It triggers Writeopia.changeStoryType with StoryType of a list item.

H1, H2, H3, H4

Writeopia also has commands to create H1, H2, H3 and H4.

CommandResult
#H1
##H2
###H3
####H4

H3 sample:

checkbox sample