@@ -6,11 +6,11 @@ use crate::foundations::{
66use crate :: html:: { tag, HtmlElem } ;
77use crate :: text:: { TextElem , WeightDelta } ;
88
9- /// Strongly emphasizes content by increasing the font weight.
9+ /// 太字によるコンテンツの強調。
1010///
11- /// Increases the current font weight by a given `delta`.
11+ /// 現在のフォントの太さに指定した差分 `delta` を加えます。
1212///
13- /// # Example
13+ /// # 例
1414/// ```example
1515/// This is *strong.* \
1616/// This is #strong[too.] \
@@ -19,14 +19,14 @@ use crate::text::{TextElem, WeightDelta};
1919/// And this is *evermore.*
2020/// ```
2121///
22- /// # Syntax
23- /// This function also has dedicated syntax: To strongly emphasize content,
24- /// simply enclose it in stars/asterisks ( `*`). Note that this only works at
25- /// word boundaries. To strongly emphasize part of a word, you have to use the
26- /// function.
22+ /// # 構文
23+ /// この関数には専用の構文もあります。
24+ /// 強調したいコンテンツをアスタリスク( `*`)で囲むだけです。
25+ /// ただし、これは単語の区切りにおいてのみ機能します。
26+ /// 単語の一部を強調したい場合は、関数を使用してください。
2727#[ elem( title = "Strong Emphasis" , keywords = [ "bold" , "weight" ] , Show ) ]
2828pub struct StrongElem {
29- /// The delta to apply on the font weight.
29+ /// フォントの太さに適用する変化量。
3030 ///
3131 /// ```example
3232 /// #set strong(delta: 0)
@@ -35,7 +35,7 @@ pub struct StrongElem {
3535 #[ default( 300 ) ]
3636 pub delta : i64 ,
3737
38- /// The content to strongly emphasize.
38+ /// 強調するコンテンツ。
3939 #[ required]
4040 pub body : Content ,
4141}
0 commit comments