Skip to content

Commit 97debd8

Browse files
committed
docs: textlint-disableを追加
1 parent 113afdd commit 97debd8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/reference/scripting.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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バインディングを使用することです。
260264
Typstプロジェクトを、_モジュール_ と呼ばれる複数のファイルに分割できます。
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

0 commit comments

Comments
 (0)