FTD document
Read time in minutes:
20
Here is a FTD document that is importing a library, lib, and has a heading of level 1, “Hello World”. FTD language is designed for human beings, not just programmers, we have taken precautions like not requiring quoting for strings, \not relying on indentation nor on braces that most programming languages require. It is not verbose like HTML, and not simplistic like Markdown.
-- import: lib

-- lib.h1: Hello World
Lang:
ftd
Using the code given above we can show the hello world output as given below.
Hello World
Here is a FTD document, that will help us to know how we can set image in ftd:
-- ftd.column image:
caption title:
ftd.image-src src:
body body:
width: fill-container
background.solid: $inherited.colors.background.base
padding-vertical.px: 20
padding-horizontal.px: 20
Lang:
ftd
Using the code given above we can show the image as given below.
This is the image with caption
Lorem Idsum is simply dummy text of the printing and typesetting in the 1960s with the release of Letraset sheets containing Lorem Idsum
>
Copyright 2012-2022 FifthTry.
>
Lorem Ipsum is simply dummy text of the printing and typesetting in the 1960s