@@ -262,15 +262,15 @@ impl Show for Packed<StrikeElem> {
262262    } 
263263} 
264264
265- /// Highlights text with a background color.  
265+ /// 背景色によるテキストハイライト。  
266266/// 
267- /// # Example  
267+ /// # 例  
268268/// ```example 
269269/// This is #highlight[important]. 
270270/// ``` 
271271#[ elem( Show ) ]  
272272pub  struct  HighlightElem  { 
273-     /// The color to highlight the text with.  
273+     /// テキストをハイライトする色。  
274274     /// 
275275     /// ```example 
276276     /// This is #highlight( 
@@ -280,8 +280,8 @@ pub struct HighlightElem {
280280     #[ default( Some ( Color :: from_u8( 0xFF ,  0xFD ,  0x11 ,  0xA1 ) . into( ) ) ) ]  
281281    pub  fill :  Option < Paint > , 
282282
283-     /// The highlight's border color. See the  
284-      /// [rectangle's documentation ]($rect.stroke) for more details.  
283+     /// ハイライトの枠線の色。  
284+      /// 詳細は[rectangleのドキュメント ]($rect.stroke)を参照してください。  
285285     /// 
286286     /// ```example 
287287     /// This is a #highlight( 
@@ -292,7 +292,7 @@ pub struct HighlightElem {
292292    #[ fold]  
293293    pub  stroke :  Sides < Option < Option < Stroke > > > , 
294294
295-     /// The top end of the background rectangle.  
295+     /// 背景の長方形の上端。  
296296     /// 
297297     /// ```example 
298298     /// #set highlight(top-edge: "ascender") 
@@ -304,7 +304,7 @@ pub struct HighlightElem {
304304     #[ default( TopEdge :: Metric ( TopEdgeMetric :: Ascender ) ) ]  
305305    pub  top_edge :  TopEdge , 
306306
307-     /// The bottom end of the background rectangle.  
307+     /// 背景の長方形の下端。  
308308     /// 
309309     /// ```example 
310310     /// #set highlight(bottom-edge: "descender") 
@@ -316,17 +316,16 @@ pub struct HighlightElem {
316316     #[ default( BottomEdge :: Metric ( BottomEdgeMetric :: Descender ) ) ]  
317317    pub  bottom_edge :  BottomEdge , 
318318
319-     /// The amount by which to extend the background to the sides beyond 
320-      /// (or within if negative) the content. 
319+     /// コンテンツの外側に(負の値のときは内側に)背景を左右に拡張する量。 
321320     /// 
322321     /// ```example 
323322     /// A long #highlight(extent: 4pt)[background]. 
324323     /// ``` 
325324     #[ resolve]  
326325    pub  extent :  Length , 
327326
328-     /// How much to round the highlight's corners. See the  
329-      /// [rectangle's documentation ]($rect.radius) for more details.  
327+     /// 背景の角を丸める量。  
328+      /// 詳細は[rectangleのドキュメント ]($rect.radius)を参照してください。  
330329     /// 
331330     /// ```example 
332331     /// Listen #highlight( 
@@ -337,7 +336,7 @@ pub struct HighlightElem {
337336    #[ fold]  
338337    pub  radius :  Corners < Option < Rel < Length > > > , 
339338
340-     /// The content that should be highlighted.  
339+     /// ハイライトされるべきコンテンツ。  
341340     #[ required]  
342341    pub  body :  Content , 
343342} 
0 commit comments