mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Add styles to image caption (#144)
This commit is contained in:
@@ -77,9 +77,22 @@ Fluttering and dancing in the breeze.
|
||||
Click the hook will locate the footnote[^footnote].
|
||||
|
||||
|
||||
## Image
|
||||
## Images
|
||||
|
||||
By default, the image is centered and the image caption can be displayed at the bottom:
|
||||
|
||||

|
||||
_Full screen width and center alignment_
|
||||
|
||||
You can change the size of the picture:
|
||||
|
||||
{: width="400"}
|
||||
_400px image width_
|
||||
|
||||
In addition, you can use custom styles to change the image position (do not use caption in this case):
|
||||
|
||||
{: width="200" style="float: left; margin: .75rem 1rem 1rem 0"}
|
||||
_A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space._
|
||||
|
||||
|
||||
## Inline code
|
||||
|
||||
Reference in New Issue
Block a user