Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
container syntax update (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Heulitig authored Dec 16, 2022
1 parent 2a26505 commit 6020d24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions if.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ lang: ftd
string src:
optional caption caption:

\--- ft.image:
\-- ft.image:
src: $src

\--- ft.text:
\-- ft.text:
if: $caption is not null
text: $caption

\-- end: image

-- ft.markdown:

Here we have created an image component, with an optional caption. If caption is
Expand Down

0 comments on commit 6020d24

Please sign in to comment.