Wiki Markup

From Hornbill
Jump to navigation Jump to search

Home > Collaboration > Wiki Markup

Introduction

For easy formatting of text in Hornbill, a subset of wiki markup can be used for decorating text with italics or bold, creating bulleted or numbered lists, and defining titles and subtitles. Wiki markup lets you quickly apply some basic formatting to your text as you type, giving it that extra touch to make it stand out.

Related Articles

Section Headings

Using the equal sign (=) on either side of a word creates a section heading. The number of equal signs determines the size of the heading. Each heading is followed by a line break.

Markup Displayed As
= Heading 1 =

Heading 1

== Heading 2 ==

Heading 2

=== Heading 3 ===

Heading 3

Lists

There are two available types of lists, numbered and bulleted.

Bullet List

Markup Displayed As
* Item 1
* Item 2
* Item 3
** Sub Item 1
** Sub Item 2
*** Sub-sub Item 1
  • Item 1
  • Item 2
  • Item 3
    • Sub Item 1
    • Sub Item 2
      • Sub-sub Item 1

Numbered List

Markup Displayed As
# Item 1
# Item 2
# Item 3
## Sub Item 1
## Sub Item 2
### Sub-sub Item 1
  1. Item 1
  2. Item 2
  3. Item 3
    1. Sub Item 1
    2. Sub Item 2
      1. Sub-sub Item 1

Text Formatting

Single quotation marks ( ' ) are used to format text as either bold or italic. Typing two single quotation marks either side of some text will italicize the text. Typing three single quotation marks either side of some text will bold the text.

Markup Displayed As
''italics'' italics
'''bold''' bold
<del>strike through</del> strike through
<ins>underline</ins> underline
<span style="color:red;font-size:16px;font-family:fantasy">font formatting such as color and font type</span> font formatting such as color and font type

Links

Hyperlinks to other areas of Hornbill can be added. This includes the ability to provide some friendly text along with the link. These links are internal to your instance of Hornbill. The URL link will always be prefixed with https://live.hornbill.com/<your instance>/

Markup Displayed As
[[newsfeed]] newsfeed
[[newsfeed|Link to your Newsfeed]] Link to your Newsfeed


The same concept will be available for external links using absolute URLs

Markup Displayed As
[[http://forums.hornbill.com/|Hornbill Community]] Hornbill Community

Images

Images can be added to any text field that allows wiki markup other than Posts or Comments as they have their own mechanism for managing images.

Syntax: [[File:filename.extension|options|caption]]

Legacy Image: namespace prefix is still supported as a synonym as well as Media.

Markup Displayed As
some [[File:https://www.hornbill.com/images/logo.png]] text some Youtube small logo.png text
some [[File:https://www.hornbill.com/images/logo.png|right|caption]] text some
caption
text
some [[File:https://www.hornbill.com/images/logo.png|center|50px|caption]] text some
caption
text

Images with Links

Images can also be linked to a URL.

The syntax is: [[File:https://www.hornbill.com/images/logo.png|link=http://www.hornbill.com|alt=Hornbill Logo]]

Symbols

Markup Displayed As
:-)
:)
:D
:-(
:(
;)
;-)
:-o
:o
:P
:-bd
X(
~O)
:-S
Emoticons.png

Code Snippets

A language can be passed as an option after a colon [code:SOURCE-LANGUAGE] These are the available languages: "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "html", "java", "js", "m", "mxml", "perl", "pl", "pm", "py", "rb", "sh", "xhtml", "xml", "xsl", "sql"

Markup Displayed As

[code]
var a = 1;
[/code]

[code:xml]
<element>a</element>
[/code]

var a = 1;


<element>a</element>

Blockquote

Markup Displayed As

[blockquote]
some text
[/blockquote]

some text

Nowiki

Markup Displayed As

[nowiki]
This is '''bold''' and this is ''italic''
[/nowiki]

This is '''bold''' and this is ''italic''