ARTFiddle
New Fiddle
My Fiddles
Tutorial Fiddles
ART Syntax Help
About
Contact
Register
Log in
file1.art
% ART is not only useful in programming, let's create an authorization letter with it: #set date = "2015-12-15" #set my_name = "Peter Griffin" #set authorized_name = "Meg Griffin" #set lawyer_name = "Dr. Saul" #set days_valid = "30" %All setting done, now we adapt the template file #adapt "file2.art"
file2.art
Authorization Letter I ?@my_name? hereby authorize ?@authorized_name? to collect my property documents from my lawyer ?@lawyer_name?. This authorization letter is valid for ?@days_valid? days from the issuance date after which it becomes null and void. For security purposes, I have attested below the signature of the authorized person. _________ ?@my_name? _________ ?@authorized_name? (?@date?)
file3.art
output
Authorization Letter I Peter Griffin hereby authorize Meg Griffin to collect my property documents from my lawyer Dr. Saul. This authorization letter is valid for 30 days from the issuance date after which it becomes null and void. For security purposes, I have attested below the signature of the authorized person. _________ Peter Griffin _________ Meg Griffin (2015-12-15)