Here you will find how to use markdown syntax to create your doc.md file.
You just need to insert this markedown with url of your image.
![img alt](/img/ternoa_logo.png)
- Normal : Hello
Hello
- Font-weight : Hello,
**Hello**
- Italic : Hello
_Hello_
To add internal or external link in your doc :
- insert external link :
[go to the external link](https://www.ternoa.network/)
result : go to the external link - insert internal link :
[go to the internal link](/docs/category/core-blockchain)
result : go to the internal link
Use ``` your code ```
to generate sample of code with color synthax.
``` jsx title="ternoa-js/account"
// Example
import { generateSeed, getKeyringFromSeed } from "ternoa-js/account";
(async () => {
const account = await generateSeed()
const keyring = await getKeyringFromSeed(account.seed)
const address = keyring.address
console.log("Your fresh public address is: ", address)
})().catch((e) => {
console.log(e)
})```
Here, examples you can use for your doc :
to add admonitions, the synthax markdown is :
:::note
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::tip
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::info
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::caution
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::danger
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::