ami:syntax
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ami:syntax [2024/09/29 07:12] – [Emojis] Humphrey Boa-Gart | ami:syntax [2024/10/06 09:47] (current) – removed Humphrey Boa-Gart | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Wiki Syntax Reference ====== | ||
- | [[doku> | ||
- | ===== Basic Text Formatting ===== | ||
- | |||
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
- | |||
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
- | Of course you can **__//'' | ||
- | |||
- | You can use < | ||
- | |||
- | You can use < | ||
- | |||
- | You can mark something as < | ||
- | |||
- | You can mark something as < | ||
- | |||
- | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | ||
- | |||
- | This is some text with some linebreaks\\ Note that the | ||
- | two backslashes are only recognized at the end of a line\\ | ||
- | or followed by\\ a whitespace \\this happens without it. | ||
- | |||
- | This is some text with some linebreaks\\ Note that the | ||
- | two backslashes are only recognized at the end of a line\\ | ||
- | or followed by\\ a whitespace \\this happens without it. | ||
- | |||
- | You should use forced newlines only if really needed. | ||
- | |||
- | ===== Links ===== | ||
- | |||
- | DokuWiki supports multiple ways of creating links. | ||
- | |||
- | ==== External ==== | ||
- | |||
- | External links are recognized automagically: | ||
- | |||
- | DokuWiki supports multiple ways of creating links. External links are recognized | ||
- | automagically: | ||
- | link text as well: [[http:// | ||
- | addresses like this one: < | ||
- | |||
- | ==== Internal ==== | ||
- | |||
- | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | ||
- | |||
- | Internal links are created by using square brackets. You can either just give | ||
- | a [[pagename]] or use an additional [[pagename|link text]]. | ||
- | |||
- | [[doku> | ||
- | |||
- | You can use some [[wiki: | ||
- | |||
- | You can use some [[wiki: | ||
- | |||
- | For details about namespaces see [[doku> | ||
- | |||
- | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# | ||
- | |||
- | This links to [[syntax# | ||
- | |||
- | Notes: | ||
- | |||
- | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | ||
- | * DokuWiki does not use [[wp> | ||
- | * When a section' | ||
- | |||
- | ==== Interwiki & Social Links ==== | ||
- | |||
- | DokuWiki supports [[doku> | ||
- | |||
- | DokuWiki supports [[doku> | ||
- | For example this is a link to Wikipedia' | ||
- | |||
- | We have some non-wiki services configured with this same tag. Here are more options: | ||
- | |||
- | ^ Tag ^ Example Code ^ Renders As ^ | ||
- | | **arch** | ||
- | | **ed** | ||
- | | **github** | ||
- | | **github** | ||
- | | **instagram** | '' | ||
- | | **rr** | ||
- | | **tel** | ||
- | | **twitter** | ||
- | | **wp** | ||
- | | **wp** | ||
- | ==== Image Links ==== | ||
- | |||
- | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
- | |||
- | [[http:// | ||
- | |||
- | [[http:// | ||
- | |||
- | Please note: The image formatting is the only formatting syntax accepted in link names. | ||
- | |||
- | The whole [[# | ||
- | |||
- | ===== Footnotes ===== | ||
- | |||
- | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | |||
- | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | |||
- | ===== Sectioning ===== | ||
- | |||
- | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | ||
- | |||
- | ==== Headline Level 3 ==== | ||
- | === Headline Level 4 === | ||
- | == Headline Level 5 == | ||
- | |||
- | ==== Headline Level 3 ==== | ||
- | === Headline Level 4 === | ||
- | == Headline Level 5 == | ||
- | |||
- | By using four or more dashes, you can make a horizontal line: | ||
- | |||
- | ---- | ||
- | |||
- | ===== Media Files ===== | ||
- | |||
- | You can include external and internal [[doku> | ||
- | |||
- | Real size: {{wiki: | ||
- | |||
- | Resize to given width: | ||
- | |||
- | Resize to given width and height((when the aspect ratio of the given width and height doesn' | ||
- | |||
- | Resized external image: {{https:// | ||
- | |||
- | Real size: {{wiki: | ||
- | Resize to given width: | ||
- | Resize to given width and height: {{wiki: | ||
- | Resized external image: {{https:// | ||
- | |||
- | |||
- | By using left or right whitespaces you can choose the alignment. | ||
- | |||
- | {{ wiki: | ||
- | |||
- | {{wiki: | ||
- | |||
- | {{ wiki: | ||
- | |||
- | {{ wiki: | ||
- | {{wiki: | ||
- | {{ wiki: | ||
- | |||
- | Of course, you can add a title (displayed as a tooltip by most browsers), too. | ||
- | |||
- | {{ wiki: | ||
- | |||
- | {{ wiki: | ||
- | |||
- | For linking an image to another page see [[#Image Links]] above. | ||
- | |||
- | ==== Supported Media Formats ==== | ||
- | |||
- | DokuWiki can embed the following media formats directly. | ||
- | |||
- | | Image | '' | ||
- | | Video | '' | ||
- | | Audio | '' | ||
- | | Flash | '' | ||
- | |||
- | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
- | |||
- | By adding ''? | ||
- | |||
- | {{wiki: | ||
- | |||
- | {{wiki: | ||
- | |||
- | ==== Fallback Formats ==== | ||
- | |||
- | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
- | |||
- | For example consider this embedded mp4 video: | ||
- | |||
- | {{video.mp4|A funny video}} | ||
- | |||
- | When you upload a '' | ||
- | |||
- | Additionally DokuWiki supports a " | ||
- | |||
- | ===== Lists ===== | ||
- | |||
- | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
- | |||
- | * This is a list | ||
- | * The second item | ||
- | * You may have different levels | ||
- | * Another item | ||
- | |||
- | - The same list but ordered | ||
- | - Another item | ||
- | - Just use indention for deeper levels | ||
- | - That's it | ||
- | |||
- | < | ||
- | * This is a list | ||
- | * The second item | ||
- | * You may have different levels | ||
- | * Another item | ||
- | |||
- | - The same list but ordered | ||
- | - Another item | ||
- | - Just use indention for deeper levels | ||
- | - That's it | ||
- | </ | ||
- | |||
- | Also take a look at the [[doku> | ||
- | |||
- | ===== Text Conversions ===== | ||
- | |||
- | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | ||
- | |||
- | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
- | |||
- | ==== Emojis ==== | ||
- | |||
- | Here is an overview of emojis (or " | ||
- | |||
- | ^ %% ^_^ %% | ^_^ ^ %% -_- %% | -_- | |
ami/syntax.1727593956.txt.gz · Last modified: by Humphrey Boa-Gart
Find this page online at: https://bestpoint.institute/ami/syntax
Find this page online at: https://bestpoint.institute/ami/syntax