MyBB Community Forums

Full Version: Tab MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using [tab]paragraph here[/tab] will display your paragraph with the first line indented by 30px.

This Mycode can only be used on one paragraph at a time, therefore, each new paragraph in a post has to be wrapped in it's own [tab][/tab] tags.

Instructions

Title:
Tab MyCode

Short Description:
Adds indentation to paragraphs in posts

Regular Expression:
\[tab\](.*?)\[/tab\]

Replacement:
<span style="margin-left: 30px;">$1</span>

Enabled:
Yes

How To Use
When making a post, wrap each paragraph in [tab] tags. For example...

[tab]this is the content of paragraph 1[/tab]
[tab] This is the content of paragraph 2[/tab]

When you view your post, each paragraph that contains the [tab] tags will be indented by 30px.