Block image macro
A block image is displayed as a discrete element (on its own line), in a document. A block image is designated by image macro name and followed by two colons (::) It’s preceded by an empty line, entered on a line by itself, and then followed by an empty line.
Type this following Asciidoctor code sample in Asciidoctor editor:
Content in document.
image::logo.jpeg[]
Content in document
Result
Content in document.
Content in document
Notes
- To insert a block image, type the image macro name directly followed by two colons (::).
- After the colons, enter the image file target. Type a pair of square brackets ([]) directly after the target to complete the macro.
asciidoc, lightweight markup syntax, lightweight markup document, lightweight markup language, image, picture, figure, illustration, photo, graphic
Tidak ada komentar:
Posting Komentar