mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-14 06:07:36 +08:00
chore: clean up README changes a little bit
This commit is contained in:
parent
a0e9594f50
commit
99dbcd9383
@ -78,14 +78,9 @@ You can set a page emoji icon by specifying the icon in the headers.
|
|||||||
<!-- Image-Align: center -->
|
<!-- Image-Align: center -->
|
||||||
```
|
```
|
||||||
|
|
||||||
You can set the alignment for all images in the page. Common values are `left`, `center`, and `right`. This adds the `ac:align` attribute to image tags and also sets the corresponding `ac:layout` attribute:
|
You can set the alignment for all images in the page. Common values are `left`, `center`, and `right`. Can also be set globally via the `--image-align` CLI option (per-page header takes precedence).
|
||||||
- `left` → `ac:align="left" ac:layout="align-start"`
|
|
||||||
- `center` → `ac:align="center" ac:layout="center"`
|
|
||||||
- `right` → `ac:align="right" ac:layout="align-end"`
|
|
||||||
|
|
||||||
**Note**: Images with width >= 760px automatically use `ac:align="wide"` with `ac:layout="center"` instead of the configured alignment, as Confluence requires this for wide images.
|
**Note**: Images with width >= 760px automatically use `center` instead of the configured alignment, as Confluence requires this for wide images.
|
||||||
|
|
||||||
Can also be set globally via the `--image-align` CLI option (per-page header takes precedence).
|
|
||||||
|
|
||||||
Mark supports Go templates, which can be included into article by using path
|
Mark supports Go templates, which can be included into article by using path
|
||||||
to the template relative to current working dir, e.g.:
|
to the template relative to current working dir, e.g.:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user