User Tools

Site Tools


wiki:syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:syntax [2019/01/06 01:18]
127.0.0.1 external edit
wiki:syntax [2023/06/13 15:22] (current)
Line 1: Line 1:
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
  
-[[doku>​DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:​playground|playground]] page. The simpler markup is easily accessible via [[doku>​toolbar|quickbuttons]],​ too.+**4D Nucleome Wiki** is implemented via [[doku>​DokuWiki]], and it supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:​playground|playground]] page. The simpler markup is easily accessible via [[doku>​toolbar|quickbuttons]],​ too. 
 + 
 +<WRAP center round tip 60%> 
 +4D Nucleome Wiki supports some additional function via plugins, including embedding html (which can be used to embed Google Calendar(s)),​ adding video and picture galleries. These additional function is listed to the end of the page. You may use **Table of Contents** at the right-top corner of the page for quick navigation. 
 +</​WRAP>​
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Line 518: Line 522:
 | %%~~NOTOC~~%% ​  | If this macro is found on the page, no table of contents will be created | | %%~~NOTOC~~%% ​  | If this macro is found on the page, no table of contents will be created |
 | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<​php>​%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<​php>​%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |
 +
 +===== Embedding =====
 +
 +4DN Wiki supports embedding of external HTML pages. The basic embedding format is like the following (only ''​someurl''​ is required, everything else is optional):
 +<​code>​
 +{{url>​someurl width,​height noscroll noborder alignment|alternate-text}}
 +</​code>​
 +
 +==== Embedding a Google Calendar ====
 +
 +For example, the following code will embed a Google Calendar in the resulting page.
 +<​code>​
 +{{url>​https://​calendar.google.com/​calendar/​embed?​src=6it3bntuu76dtpe4odqmoke3l0%40group.calendar.google.com 800,400 noborder|4DN OMICS WG Calendar}}
 +</​code>​
 +
 +{{url>​https://​calendar.google.com/​calendar/​embed?​src=6it3bntuu76dtpe4odqmoke3l0%40group.calendar.google.com 800,400 noborder|4DN OMICS WG Calendar}}
 +
 +=== Embedding multiple Google Calendars ===
 +
 +You may use the "​Customize"​ function on Google Calendar to go to [[https://​calendar.google.com/​calendar/​embedhelper|Google Embeddable Calendar Helper]], where you can select multiple calendars to embed. After you choose all the calendars, please follow these steps:
 +  - Copy the HTML code from the helper to wiki. The code should look like ''<​iframe src="​https:​..."​ ...></​iframe>''​.
 +  - Copy everything between the double quotes in ''​src="​https:​..."''​ and paste it to the right of ''​url>''​ of the embedding tag, delete the rest of the HTML code.
 +  - **Important:​** Replace all ''&​amp;''​ with ''&''​ in what you just pasted.
  
 ===== Syntax Plugins ===== ===== Syntax Plugins =====
Line 524: Line 551:
  
 ~~INFO:​syntaxplugins~~ ~~INFO:​syntaxplugins~~
- 
wiki/syntax.1546766327.txt.gz · Last modified: 2023/06/13 15:21 (external edit)