Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion crates/typst/src/model/figure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ pub struct FigureElem {
/// - コンテンツに関わらず特定のカウンターを強制的に使用したい場合
///
/// 種類は、エレメント関数または文字列に設定できます。
/// [`{table}`]($table)、[`{raw}`](raw)、[`{image}`](image)以外のエレメント関数に設定した場合は、図表の補足(supplement)を手動で指定する必要があります。
/// [`{table}`]($table)、[`{raw}`](raw)、[`{image}`](image)以外のエレメント関数に設定した場合は、図表の補足supplementを手動で指定する必要があります。
///
/// ```example
/// #figure(
Expand Down
4 changes: 2 additions & 2 deletions crates/typst/src/visualize/image/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct ImageElem {

/// 画像のフォーマット。デフォルトでは自動的に検出されます。
///
/// サポートされている拡張子は PNG, JPEG, GIF, SVGです。
/// サポートされている拡張子はPNG, JPEG, GIF, SVGです。
/// [PDFの画像はまだサポートされていません。](https://github.com/typst/typst/issues/145)
pub format: Smart<ImageFormat>,

Expand Down Expand Up @@ -118,7 +118,7 @@ impl ImageElem {
pub fn decode(
/// The call span of this function.
span: Span,
/// 画像としてデコードするデータ。SVG の場合は文字列です
/// 画像としてデコードするデータ。SVGの場合は文字列です
data: Readable,
/// 画像のフォーマット。デフォルトでは自動的に検出されます。
#[named]
Expand Down