Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Nwiki markup.

Nwiki markup: Difference between revisions

From MoodleDocs
(made this page as a link from Using Wiki to shorten the page)
 
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Markup language ==
== Markup language ==
You miss all the formatting you know from other moodle activities?
Here are some examples of Nwiki markup (which is similar to Mediawiki.)
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 [https://docs.moodle.org/20/en/Help:Editing mediawiki-markup])
== Nwiki Syntax ==
 
=== Text Format ===


<nowiki>''Bold text''</nowiki>
<nowiki>''Bold text''</nowiki>


<nowiki>'''Italic text'''</nowiki>
<nowiki>'''Italic text'''</nowiki>
=== Links and URLs ===


<nowiki>[[Internal link]]</nowiki>
<nowiki>[[Internal link]]</nowiki>


<nowiki>http://External URL</nowiki>
<nowiki>http://External_URL</nowiki>
 
<nowiki>[http://External_URL External_URL_title]
 
</nowiki>
 
 
=== Bullet List ===
 
<nowiki>*Bullet List Item 1</nowiki>


<nowiki>*Bullet List</nowiki>
<nowiki>*Bullet List Item 2</nowiki>


<nowiki>*Bullet List</nowiki>
<nowiki>*Bullet List Item 3</nowiki>


<nowiki>*Bullet List</nowiki>


=== Numbered List ===


<nowiki>#Numbered List</nowiki>
<nowiki>#Numbered List Item 1</nowiki>


<nowiki>#Numbered List</nowiki>
<nowiki>#Numbered List Item 2</nowiki>


<nowiki>#Numbered List</nowiki>
<nowiki>#Numbered List Item 3</nowiki>


=== Image ===


<nowiki>[[image:Image|alt]]</nowiki>
<nowiki>[[image:Image|alt]]</nowiki>


<nowiki>= Level 1 Header =</nowiki>
=== Section headings ===
 
<nowiki>= Level 1 Heading =</nowiki>
 
<nowiki>== Level 2 Heading ==</nowiki>
 
<nowiki>=== Level 3 Heading ===</nowiki>
 
=== Horizontal rule ===
 
<nowiki>---</nowiki>
 
=== Line breaks ===
 
The syntax of nwiki is quite different from that of [http://en.wikipedia.org/wiki/Help:Wiki_markup 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 &#60;br /&#62;


<nowiki>= Level 1 Header =</nowiki>
=== Wiki Markup Escape ===


<nowiki>=== Level 3 Header ===</nowiki>
<nowiki> <nowiki>No wiki text</nowiki> </nowiki>


<nowiki>
---</nowiki>


<nowiki>
[[es:Lenguaje de marcado nwiki]]
<nowiki>No wiki text</nowiki></nowiki>
[[de:NWiki-Syntax]]

Latest revision as of 09:33, 7 November 2018

Markup language

Here are some examples of Nwiki markup (which is similar to Mediawiki.)

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 2 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>