<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Formatting wiki pages</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> <meta name="robots" content="noindex, follow" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../ikiwiki.html">ikiwiki</a>/ </span> <span class="title"> Formatting wiki pages </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>Text on this wiki is, by default, written in a form very close to how you might write text for an email message. This style of text formatting is called <a href="./markdown.html">MarkDown</a>, and it works like this:</p> <p>Leave blank lines between paragraphs.</p> <p>You can <em>*emphasise*</em> or <strong>**strongly emphasise**</strong> text by placing it in single or double asterisks.</p> <p>To create a list, start each line with an asterisk:</p> <ul> <li>"* this is my list"</li> <li>"* another item"</li> </ul> <p>To make a numbered list, start each line with a number (any number will do) followed by a period:</p> <ol> <li>"1. first line"</li> <li>"2. second line"</li> <li>"2. third line"</li> </ol> <p>To create a header, start a line with one or more <code>#</code> characters followed by a space and the header text. The number of <code>#</code> characters controls the size of the header:</p> <h1># h1</h1> <h2>## h2</h2> <h3>### h3</h3> <h4>#### h4</h4> <h5>##### h5</h5> <h6>###### h6</h6> <p>To create a horizontal rule, just write three or more dashes or stars on their own line:</p> <hr /> <p>To quote someone, prefix the quote with ">":</p> <blockquote> <p>To be or not to be, that is the question.</p> </blockquote> <p>To write a code block, indent each line with a tab or 4 spaces:</p> <pre><code>10 PRINT "Hello, world!" 20 GOTO 10 </code></pre> <p>To link to an url or email address, you can just put the url in angle brackets: <<a href="http://ikiwiki.info">http://ikiwiki.info</a>>, or you can use the form [link text](url)</p> <hr /> <p>In addition to basic html formatting using <a href="./markdown.html">MarkDown</a>, this wiki lets you use the following additional features:</p> <ul> <li><p>To link to another page on the wiki, place the page's name inside double square brackets. So you would use <code>[[WikiLink]]</code> to link to <a href="./wikilink.html">WikiLink</a>.</p></li> <li><p>Insert <a href="../smileys.html">smileys</a> and some other useful symbols. <img src="../smileys/smile.png" alt=":-)" /></p></li> <li><p>Use <a href="../shortcuts.html">shortcuts</a> to link to common resources.</p> <p>[[!wikipedia War_of_1812]]</p></li> <li><p>Create and fill out <a href="../templates.html">templates</a> for repeated chunks of parameterized wiki text.</p></li> <li><p>Insert various <a href="./directive.html">directives</a> onto a page to perform useful actions. For example, you can:</p> <ul> <li>Add a table of contents to a page:</li> </ul> <p>[[!toc ]]</p> <ul> <li>Change the title of a page:</li> </ul> <p>[[!meta title="full page title"]]</p> <ul> <li>Create a blog by inlining a set of pages:</li> </ul> <p>[[!inline pages="blog/*"]]</p></li> </ul> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="../basewiki.html">basewiki</a> <a href="../ikiwiki.html">ikiwiki</a> <a href="./markdown.html">markdown</a> <a href="../setup/byhand.html">setup/byhand</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>