Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Nwiki markup.

Nwiki markup

From MoodleDocs
Revision as of 07:05, 31 March 2013 by Jizu Sun (talk | contribs) (Add more details)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Markup language

You miss all the formatting you know from other moodle activities? That's because the wiki-type of your wiki is e.g. nwiki.

here are some markup hints from the early moodle 2.0 days: (nwiki promised to be close to mediawiki-markup)

Nwiki Syntax

Text Format

''Bold text''

'''Italic text'''

Links and URLs

[[Internal link]]

http://External_URL

[http://External_URL External_URL_title]


Bullet List

*Bullet List Item 1

*Bullet List Item 2

*Bullet List Item 3


Numbered List

#Numbered List Item 1

#Numbered List Item 2

#Numbered List Item 3

Image

[[image:Image|alt]]

Section headings

= Level 1 Heading =

= Level 1 Heading =

=== Level 3 Heading ===

Horizontal rule

---

Line breaks

The syntax of nwiki is quite different from that of Mediawiki.

A line break that is visible in the content is inserted by pressing "Enter" key only once, not twice.

Twice "Enter" pressing or more in the markup is equal to twice "Enter". To insert several line breaks, please use <br />

Wiki Markup Escape

<nowiki>No wiki text </nowiki>