Hi folks
Here are three tips on how to format a forum post for easier reading:
-
Format inline code/commands by placing them within single backticks . For example
`npm start` will look like
npm start
,
`daml version` will look likedaml version
,
` curl -sSL https://get.daml.com/ | sh` will look likecurl -sSL https://get.daml.com/ | sh
etc. -
For code blocks/large console outputs use tripple backticks or simply click on the icon available in the toolbar.
For example
```
template Message with
sender: Party
receiver: Party
content: Text
where
signatory sender, receiver
```
will look like this
template Message with
sender: Party
receiver: Party
content: Text
where
signatory sender, receiver
-
You can also toggle the code using
[details=“message.daml”]
```
template Message with
sender: Party
receiver: Party
content: Text
where
signatory sender, receiver
```
[/details]This is also available from the toolbar
The above code block will end up looking like this
message.daml
template Message with
sender: Party
receiver: Party
content: Text
where
signatory sender, receiver
Have fun learning Daml and keep on posting any questions that you have on the forum