object ImageDirectives
Provides the implementation for the image directives included in Laika.
This includes the block-level and span-level image directives.
For full documentation see the section about Image Directives in the manual.
- Alphabetic
- By Inheritance
- ImageDirectives
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
forBlocks: Blocks.Directive
Markup directive for inserting an image as a block level element.
Markup directive for inserting an image as a block level element.
The image source must be set with a positional attribute (in parenthesis). It is the only required attribute and can be a local path (absolute or relative) in the virtual tree of your input sources, or an external URL (
http:
orhttps:
).The optional
intrinsicWidth
andintrinsicHeight
attributes can be used to describe the dimensions of the image to avoid layout shifts when loading the page.For controlling the actual display size you can use the
style
attribute together with a matching declaration in one of your site's CSS documents. If omitted the theme in use will usually have a sensible default size. -
val
forSpans: Spans.Directive
Markup directive for inserting an image as an inline element.
Markup directive for inserting an image as an inline element.
The image source must be set with a positional attribute (in parenthesis). It is the only required attribute and can be a local path (absolute or relative) in the virtual tree of your input sources, or an external URL (
http:
orhttps:
).The optional
intrinsicWidth
andintrinsicHeight
attributes can be used to describe the dimensions of the image to avoid layout shifts when loading the page.For controlling the actual display size you can use the
style
attribute together with a matching declaration in one of your site's CSS documents. If omitted the theme in use will usually have a sensible default size. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated