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

WikifyWidget

2022년 1월 22일 오후 7:15

Introduction

The wikify widget parses and renders a string of text and assigns the result to a specified variable. The new value of the variable is available to the content within the wikify widget.

Content and Attributes

The content of the <$wikify> widget is the scope for the value assigned to the variable.

AttributeDescription
nameThe name of the variable to assign
textThe text to parse and render
typeThe ContentType of the text (defaults to text/vnd.tiddlywiki)
modeThe parse mode: block (the default) or inline
outputKeyword indicating the desired output type, defaulting to text (see below)

The available output types are:

KeywordDescription
textReturn the plain text of the rendered output (ie HTML tags are omitted)
formattedtextReturn the plain text with simple text formatting of the rendered output (ie HTML tags are omitted)
htmlReturn the rendered HTML of the output
parsetreeReturn a formatted JSON representation of the parse tree
widgettreeReturn a formatted JSON representation of the widget tree