#author("2025-09-08T15:01:04+00:00","default:luca","luca") #author("2025-09-08T15:02:15+00:00","default:luca","luca") [[AgeingHackerWiki]] * [[Examples]] [#e3410bf5] #contents * Wiki syntax [[Examples]] [#a66287ba] ** Basic markup [#o3a2d659] The line below this is a comment. // This is the comment. The line above this is a comment. This is ''bold text''. This is '''italic text'''. This is %%strike-through text%%. This is %%%underlined%%%. This text has a footnote((Beautiful, isn't it?)). ** Links [#gd5182d6] This is a WikiLink and [[AgeingHackerWiki]] is another. This is [https://gnu.org a web link to gnu.org]. This is a link with the URL shown: &ref(https://gnu.org);. &aname(my-anchor);This point is referred to by an anchor. You can point to it with a link like this: [[Examples#my-anchor]] or even just like this: [[#my-anchor]]. ** Colours [#g8ed62ea] Here is come coloured text: - &color(green){this is green};; - &color(orange){this is orange};; - &color(orange,purple){this is orange with purple background};. ** Block elements [#l202c825] This is a single paragraph. And this is another paragraph. > quotation >> nested quotation >>> twice nested quotation This is some text. ~This (a tilde at the beginning of a line) begins a new paragraph, even if I did not separate it with a newline at the beginning. By inserting a tilde at the end of a line like here~ I can force a line break. How to make a “definition”: :term|definition Alignment: CENTER:this text is centered RIGHT:this text is right-aligned LEFT:this text is left-aligned Horizontal rule: ----- ** Lists [#fe3cbb13] A flat list: - a - b - c A nested list: - a -- a1 -- a2 - b - c Numbered list: + a + b ++ b1 ++ b2 + c ** Code [#b135d4b4] #include <stdio.h> int main () { printf ("Hello, world.\n"); return 0; } - foo bar ** Tables [#aa3eef34] |''Heading A''|''Heading B''|''Heading C''| |foo|bar|quux| |foo2|bar2|quux2| LEFT: CENTER: RIGHT: BGCOLOR(...): COLOR(...): SIZE(...): BOLD: |''Heading A''|''Heading B''|''Heading C''| |foo|CENTER:bar|quux| |BGCOLOR(lightgreen):foo2|bar2|quux2| CSV tables: ,a,b,c,"d,e with a comma inside","f with "" a double-quote character" ,a,b==c,d,e,f ** Images [#j0b03bc9] Image as an attachment: &ref(Examples/hacker-emblem.png); External image as a URL: #ref(https://ageinghacker.net/static/hacker-emblem.png) ** Existing syntax I do not know how to use yet [#ua01210b] left center right wrap nowrap around nolink #clear #img(,clear) #comment #pcomment #article ** Votes [#obdb2bc1] This generates an empty table for votes, with a count of zero for every option: #vote(a,b,c) Each vote will trigger a page update, so that the page will look like this: #vote(a[0],b[1],c[0]) #vote(a[1],b[6],c[1]) ** User comment fields [#pde4221b] Please leave a comment here: - This works! -- [[luca]] &new{2025-09-08 (Mon) 15:59:40}; - indeed it does. -- [[luca]] &new{2025-09-08 (Mon) 16:01:04}; #comment This allows for threaded comments and records comments in a separate page: This alternative stores comments in a separate page: #pcomment ** References [#m12db1b0] [https://www.gen-info.osaka-u.ac.jp/bioinfo/index.php?FormatRule This] is a description of this wiki syntax, unfortunately only in Japanese. [https://pukiwiki.sourceforge.io/dev/?:CategoryDev/Document/FormatRule This document in English on the pukiwiki development site] is good; you can see the source by clicking “編集” which must mean “edit”. The “syntax examples” on [https://www.wikimatrix.org/show/pukiwiki this summary on wikimatrix.org] are useful, even if the page seems outdated: some features listed as unsupported exist, without needing any plugin. ** Experiments [#d1e45561]