Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/typst-library/src/layout/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub struct BoxElem {
#[default(false)]
pub clip: bool,

/// ボックスの内容
/// ボックスのコンテンツ
#[positional]
#[borrowed]
pub body: Option<Content>,
Expand Down Expand Up @@ -336,7 +336,7 @@ pub struct BlockElem {
#[default(false)]
pub sticky: bool,

/// ブロックの内容
/// ブロックのコンテンツ
#[positional]
#[borrowed]
pub body: Option<BlockBody>,
Expand Down
2 changes: 1 addition & 1 deletion crates/typst-library/src/math/equation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub struct EquationElem {
/// ```
pub supplement: Smart<Option<Supplement>>,

/// 数式の内容
/// 数式のコンテンツ
#[required]
pub body: Content,

Expand Down
6 changes: 3 additions & 3 deletions crates/typst-library/src/model/figure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ use crate::visualize::ImageElem;
/// デフォルトでは、図表はコンテンツの流れの中に配置されます。
/// 図表をページの上部または下部に配置するには、[`placement`]($figure.placement)引数を使用します。
///
/// 図表が大きすぎてその内容がページをまたいで分割可能な場合(例えば大きな表が含まれている場合)、このshowルールで図表自体もページをまたいで分割可能です。
/// 図表が大きすぎてそのコンテンツがページをまたいで分割可能な場合(例えば大きな表が含まれている場合)、このshowルールで図表自体もページをまたいで分割可能です。
/// ```typ
/// #show figure: set block(breakable: true)
/// ```
Expand Down Expand Up @@ -98,7 +98,7 @@ use crate::visualize::ImageElem;
/// ```
#[elem(scope, Locatable, Synthesize, Count, Show, ShowSet, Refable, Outlinable)]
pub struct FigureElem {
/// 図表の内容。多くの場合、 [image] が使われます。
/// 図表のコンテンツ。多くの場合、 [image] が使われます。
#[required]
pub body: Content,

Expand Down Expand Up @@ -179,7 +179,7 @@ pub struct FigureElem {
/// `{auto}` に設定すると、図表は、種類や[テキスト言語]($text.lang)に基づいて、正しい補足語を自動的に決定しようとします。
/// 独自の図表タイプを使用している場合は、補足語を手動で指定する必要があります。
///
/// 関数が指定された場合、その関数は指定された種類の最初の子孫要素(通常は図の本体)に渡され、内容を返す必要があります
/// 関数が指定された場合、その関数は指定された種類の最初の子孫要素(通常は図の本体)に渡され、コンテンツを返す必要があります
///
/// ```example
/// #figure(
Expand Down
2 changes: 1 addition & 1 deletion crates/typst-library/src/model/footnote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ use crate::visualize::{LineElem, Stroke};
/// And the online app. #footnote(<fn>)
/// ```
///
/// _注意:_ `footnote`が呼び出されるスコープ内でのsetルールやshowルールは、脚注の内容に適用されない場合があります
/// _注意:_ `footnote`が呼び出されるスコープ内でのsetルールやshowルールは、脚注のコンテンツに適用されない場合があります
/// 詳細については[こちら][issue]を参照してください。
///
/// [issue]: https://github.com/typst/typst/issues/1467#issuecomment-1588799440
Expand Down
2 changes: 1 addition & 1 deletion crates/typst-library/src/model/heading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::text::{FontWeight, LocalName, SpaceElem, TextElem, TextSize};
///
/// 見出しを使うことで、文書をセクションとして構造化できます。
/// 各見出しには1から始まる _レベル_ があり、上限はありません。
/// このレベルは、以下に続く内容の論理的な役割(セクション、サブセクションなど)を示します。
/// このレベルは、以下に続くコンテンツの論理的な役割(セクション、サブセクションなど)を示します。
/// 最上位のレベルの見出しは、文書の最上位のレベルのセクションを示します(文書のタイトルではありません)。
///
/// Typstでは、見出しに自動的に番号をつけることができます。
Expand Down
2 changes: 1 addition & 1 deletion crates/typst-library/src/model/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub struct LinkElem {
)]
pub dest: LinkTarget,

/// リンクとして表示する内容
/// リンクとして表示するコンテンツ
///
/// `dest`がURL文字列の場合、このパラメーターは省略可能です。
/// この場合、URLがリンクとして表示されます。
Expand Down
2 changes: 1 addition & 1 deletion crates/typst-library/src/model/par.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ pub struct ParElem {
#[resolve]
pub hanging_indent: Length,

/// 段落の内容
/// 段落のコンテンツ
#[required]
pub body: Content,
}
Expand Down