Skip to content

Commit f8218ad

Browse files
fix: remove $type/ prefixes in syntax.md
Before: - `$type/$function` `/reference/foundations/type/$function/` After: - `$function` `reference/foundations/function/`
1 parent 88ef363 commit f8218ad

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/reference/language/syntax.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,18 @@ Typstは、最も一般的な文書要素に対する組み込みのマークア
105105
| コードブロック | `{{ let x = 1; x + 2 }}` | [Scripting]($scripting/#blocks) |
106106
| コンテンツブロック | `{[*Hello*]}` | [Scripting]($scripting/#blocks) |
107107
| 括弧付き式 | `{(1 + 2)}` | [Scripting]($scripting/#blocks) |
108-
| 配列 | `{(1, 2, 3)}` | [Array]($type/$array) |
109-
| 辞書 | `{(a: "hi", b: 2)}` | [Dictionary]($type/$dictionary) |
108+
| 配列 | `{(1, 2, 3)}` | [Array]($array) |
109+
| 辞書 | `{(a: "hi", b: 2)}` | [Dictionary]($dictionary) |
110110
| 単項演算子 | `{-x}` | [Scripting]($scripting/#operators) |
111111
| 二項演算子 | `{x + y}` | [Scripting]($scripting/#operators) |
112112
| 代入 | `{x = 1}` | [Scripting]($scripting/#operators) |
113113
| フィールドアクセス | `{x.y}` | [Scripting]($scripting/#fields) |
114114
| メソッド呼び出し | `{x.flatten()}` | [Scripting]($scripting/#methods) |
115-
| 関数呼び出し | `{min(x, y)}` | [Function]($type/$function) |
116-
| 引数展開 | `{min(..nums)}` | [Arguments]($type/$arguments) |
117-
| 無名関数 | `{(x, y) => x + y}` | [Function]($type/$function) |
115+
| 関数呼び出し | `{min(x, y)}` | [Function]($function) |
116+
| 引数展開 | `{min(..nums)}` | [Arguments]($arguments) |
117+
| 無名関数 | `{(x, y) => x + y}` | [Function]($function) |
118118
| letバインディング | `{let x = 1}` | [Scripting]($scripting/#bindings) |
119-
| 名前付き関数 | `{let f(x) = 2 * x}` | [Function]($type/$function) |
119+
| 名前付き関数 | `{let f(x) = 2 * x}` | [Function]($function) |
120120
| setルール | `{set text(14pt)}` | [Styling]($styling/#set-rules) |
121121
| set-ifルール | `{set text(..) if .. }` | [Styling]($styling/#set-rules) |
122122
| show-setルール | `{show heading: set block(..)}` | [Styling]($styling/#show-rules) |
@@ -127,7 +127,7 @@ Typstは、最も一般的な文書要素に対する組み込みのマークア
127127
| forループ | `{for x in (1, 2, 3) {..}}` | [Scripting]($scripting/#loops) |
128128
| whileループ | `{while x < 10 {..}}` | [Scripting]($scripting/#loops) |
129129
| ループ制御フロー | `{break, continue}` | [Scripting]($scripting/#loops) |
130-
| 関数からのリターン | `{return x}` | [Function]($type/$function) |
130+
| 関数からのリターン | `{return x}` | [Function]($function) |
131131
| モジュールをインクルード | `{include "bar.typ"}` | [Scripting]($scripting/#modules) |
132132
| モジュールをインポート | `{import "bar.typ"}` | [Scripting]($scripting/#modules) |
133133
| モジュールからのインポート | `{import "bar.typ": a, b, c}` | [Scripting]($scripting/#modules) |

0 commit comments

Comments
 (0)