This diagram represent W rendering chain.
flowchart TD
0A(Head generation) -->
0rss(RSS feed declaration) --> 3B
2A[[Body]] -->
2B(W inclusion) ------->
2C((Element inclusion)) --> 2D
subgraph "post inclusion parser"
2D(Summary) -->
2rss(RSS detection) -->
2H(Wiki links) -->
2I(Link and media analysis) -->
2pp(check for post render actions)
end
2pp -->
3B((Head and Body gathering)) -->
3C[[Rendered HTML]] --> 4c
subgraph "post render actions"
4c(counters) -->
4j(js vars)
end
4j --> 5[\served web page/]
1A[[Element]] -->
1B(W inclusion) -->
1C(every link*) -->
1D(Markdown) --> 1E
subgraph "post MD parser"
1E(header ID) -->
1F(URL linker) -->
1G(HTML tag*)
end
1G --> 2C
1E -. "send TOC structure" .-> 2D
2rss -. "send rss links" .-> 0rss
2pp -. trigger post render action .-> 4c
- *every link: rendering option that transform every word as a link
- *HTML tag: rendering option that does not print Element's corresponding HTML tags (only for pages V1)
List of W inclusions
- replace
%DATE%
,%DATEMODIF%
,%TIME%
,%TIMEMODIF%
codes - replace
%THUMBNAIL%
code - replace
%PAGEID%
and%ID%
code - replace
%URL%
code - replace
%PATH%
code - replace
%TITLE%
code - replace
%DESCRIPTION%
code - replace
%LIST%
code - replace
%MEDIA%
code - replace
%MAP%
code - replace
%RANDOM%
code - replace
%AUTHORS%
code - replace
%CONNECT%
code
The point of doing those inclusions early is to be before Header ID parser. That way, when they are used inside HTML headings, they will generate nicer IDs.