Additional styles

Jekyll use kramdown as the default markdown processor. kramdown can adding attributes to block and span-level elements throw ALDs1 feature. with the help of ALDs, we can defined class names to an element by {:.class-name1.class-name-2}.

TeXt offer some class names that you can use in the post.

Alert

Class Names
success
info
warning
error

Success Text.

Info Text.

Warning Text.

Error Text.

markdown:

Success Text.
{:.success}
Info Text.
{:.info}
Warning Text.
{:.warning}
Error Text.
{:.error}

Photo Frame

Class Names
border
shadow
rounded
circle
Border Shadow
Lenna Lenna
![Lenna](path-to-image.jpg){:.border} ![Lenna](path-to-image.jpg){:.shadow}
Rounded Circle
Lenna Lenna
![Lenna](path-to-image.jpg){:.rounded} ![Lenna](path-to-image.jpg){:.circle}
Border + Rounded Circle + Shadow
Lenna Lenna
![Lenna](path-to-image.jpg){:.border.rounded} ![Lenna](path-to-image.jpg){:.circle.shadow}

Button

Type Class Names
base button
type button--primary, button--secondary, button--success, button--info, button--warning, button--error
shape button--pill, button--rounded, button--circle
size button--md(default), button--sm, button--lg

BUTTON

[BUTTON](#){:.button.button--primary.button--pill}

BUTTON

[BUTTON](#){:.button.button--secondary.button--pill}

BUTTON

[BUTTON](#){:.button.button--primary.button--rounded}

X

[X](#){:.button.button--primary.button--circle}

BUTTON

[BUTTON](#){:.button.button--secondary.button--rounded.button--sm}

BUTTON

[BUTTON](#){:.button.button--secondary.button--rounded.button--lg}