이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

WikiText Parser Modes

2022년 5월 13일 오전 11:26

In order to display Tiddlers (usually the text field), the WikiText parser reads and interprets the content and applies WikiText rules. The parser has three modes:

The parser transitions between these modes based on the text it encounters. In addition, there are places where the parser ignores WikiText punctuation. The parser mode can also be set directly with the Pragma: \parsermode.

Tip
The concept of inline vs block also exists for standard HTML elements. For HTML, these two layout modes determine if the output flows together on the same line or not.

Most block mode WikiText corresponds to block level HTML elements and most inline mode WikiText corresponds to inline level HTML elements. However, for Wikitext the two modes are just as important for determining which syntax will be recognised by the parser as they are for determining how the output will flow.