File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -207,12 +207,16 @@ forループはさまざまなコレクションを反復処理できます。
207207## フィールド { #fields }
208208_ ドット記法_ を使用することで値のフィールドにアクセスできます。[ コンテンツ] ( $content ) 型の値については、[ fields] ( $content.fields ) 関数を使用してフィールドを一覧表示できます。
209209
210+ <!-- textlint-disable jtf-style/1.1.3.箇条書き -->
211+
210212対象の値は以下のいずれかです。
211213- 指定されたキーを持つ[ 辞書] ( $dictionary ) 、
212214- 指定された修飾子を持つ[ 記号] ( $symbol ) 、
213215- 指定された定義を含む[ モジュール] ( $module ) 、
214216- 指定されたフィールドを持つ要素で構成された[ コンテンツ] ( $content ) 。利用可能なフィールドは、その要素が構築された際に与えられた[ 要素関数] ( $function/#element-functions ) の引数と一致します。
215217
218+ <!-- textlint-enable -->
219+
216220``` example
217221#let it = [= Heading]
218222#it.body \
@@ -260,6 +264,8 @@ letバインディングを使用することです。
260264Typstプロジェクトを、_ モジュール_ と呼ばれる複数のファイルに分割できます。
261265モジュールは他のモジュールの内容や定義を複数の方法で参照できます。
262266
267+ <!-- textlint-disable jtf-style/1.1.3.箇条書き -->
268+
263269- ** インクルード:** ` {include "bar.typ"} ` \
264270 パス` bar.typ ` にあるファイルを評価し、その結果として得られる[ コンテンツ] ( $content ) を返します。
265271
@@ -276,6 +282,8 @@ Typstプロジェクトを、_モジュール_ と呼ばれる複数のファイ
276282 次のように、` as ` キーワードを使用してモジュール名を変更できます。
277283 ` {import "bar.typ": a as one, b as two} `
278284
285+ <!-- textlint-enable -->
286+
279287以下の例に示すように、パスの代わりに[ モジュール値] ( $module ) を使用できます。
280288
281289``` example
You can’t perform that action at this time.
0 commit comments